InitialContextFactory
public final class TestInitialContextFactory extends Object implements InitialContextFactory
Modifier and Type | Field | Description |
---|---|---|
static org.springframework.mock.jndi.SimpleNamingContextBuilder |
namingContext |
Constructor | Description |
---|---|
TestInitialContextFactory() |
Modifier and Type | Method | Description |
---|---|---|
Context |
getInitialContext(Hashtable<?,?> environment) |
|
static org.springframework.mock.jndi.SimpleNamingContextBuilder |
getNamingContext() |
public static org.springframework.mock.jndi.SimpleNamingContextBuilder namingContext
public Context getInitialContext(Hashtable<?,?> environment) throws NamingException
getInitialContext
in interface InitialContextFactory
NamingException
public static org.springframework.mock.jndi.SimpleNamingContextBuilder getNamingContext()
Copyright © 2002–2019 itracker. All rights reserved.