|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.guiceyfruit.jndi.GuiceInitialContextFactory
public class GuiceInitialContextFactory
A factory of the Guice JNDI provider which creates an injector from all the available modules
specified in the space separated Injectors.MODULE_CLASS_NAMES
property.
Field Summary | |
---|---|
static java.lang.String |
NAME_PREFIX
|
Constructor Summary | |
---|---|
GuiceInitialContextFactory()
|
Method Summary | |
---|---|
javax.naming.Context |
getInitialContext(java.util.Hashtable environment)
Creates a new context with the given environment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME_PREFIX
Constructor Detail |
---|
public GuiceInitialContextFactory()
Method Detail |
---|
public javax.naming.Context getInitialContext(java.util.Hashtable environment) throws javax.naming.NamingException
getInitialContext
in interface javax.naming.spi.InitialContextFactory
environment
- the environment, must not be null
javax.naming.NamingException
- is thrown if creation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |