|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--com.smardec.jndi.mirror.MirrorInitialCtxFactory
InitialContextFactory implementation.
| Constructor Summary | |
MirrorInitialCtxFactory()
Creates MirrorInitialCtxFactory object. |
|
| Method Summary | |
javax.naming.Context |
getInitialContext(java.util.Hashtable env)
Creates an Initial Context for beginning name resolution. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MirrorInitialCtxFactory()
MirrorInitialCtxFactory object.
| Method Detail |
public javax.naming.Context getInitialContext(java.util.Hashtable env)
Context.PROVIDER_URL from the env and performs the following operations:
Context.PROVIDER_URL ends with '.xml'
it tries to load the xml file with xml-serialized context.
Context.PROVIDER_URL not ends with '.xml'
it tries to load the binary file with serialized context.
MirrorCtx object.
The environment parameter is owned by the caller.
The implementation will not modify the object or keep a reference
to it, although it may keep a reference to a clone or copy.
getInitialContext in interface javax.naming.spi.InitialContextFactoryenv - The possibly null environment specifying information
to be used in the creation of the initial context.
null initial context object that implements the Context interface.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||