org.jnp.interfaces.java
Class javaURLContextFactory
java.lang.Object
org.jnp.interfaces.java.javaURLContextFactory
- All Implemented Interfaces:
- javax.naming.spi.ObjectFactory
- public class javaURLContextFactory
- extends java.lang.Object
- implements javax.naming.spi.ObjectFactory
Implementation of "java:" namespace factory. The context is associated
with the thread, so the root context must be set before this is used in a thread
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
javaURLContextFactory
public javaURLContextFactory()
setRoot
public static void setRoot(Naming (src) srv)
getRoot
public static Naming (src) getRoot()
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
throws java.lang.Exception
- Specified by:
getObjectInstance
in interface javax.naming.spi.ObjectFactory
- Throws:
java.lang.Exception