public class GuiceInitialContextFactory extends Object implements InitialContextFactory
Injectors.MODULE_CLASS_NAMES property.
For more details of how this JNDI provider works see the wiki
documentation| Modifier and Type | Field and Description |
|---|---|
static String |
NAME_PREFIX |
| Constructor and Description |
|---|
GuiceInitialContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
Context |
getInitialContext(Hashtable<?,?> environment)
Creates a new context with the given environment.
|
public static final String NAME_PREFIX
public Context getInitialContext(Hashtable<?,?> environment) throws NamingException
getInitialContext in interface InitialContextFactoryenvironment - the environment, must not be nullNamingException - is thrown if creation failed.Apache Camel