|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.naming.NamingContextFactory
Initial context factory returning NamingContext
instances.
Constructor Summary | |
NamingContextFactory()
|
Method Summary | |
javax.naming.Context |
getInitialContext(java.util.Hashtable environment)
Get a new (writable) initial context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NamingContextFactory()
Method Detail |
public javax.naming.Context getInitialContext(java.util.Hashtable environment) throws javax.naming.NamingException
NamingContext
. If
SynchronizedContext.isSynchronized(java.util.Hashtable)
returns true for
environment
then the
returned context is wrapped in a SynchronizedContext
, so access
to it will be synchronized.
getInitialContext
in interface javax.naming.spi.InitialContextFactory
environment
- environment
javax.naming.NamingException
- if a naming exception is encountered
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |