org.mockejb.jndi.java
Class javaURLContextFactory
java.lang.Object
org.mockejb.jndi.java.javaURLContextFactory
- All Implemented Interfaces:
- javax.naming.spi.ObjectFactory
- public class javaURLContextFactory
- extends java.lang.Object
- implements javax.naming.spi.ObjectFactory
Handles the java:
context. The class follows naming convention
described in javax.naming.spi.NamingManager.getURLContext()
.
it delgates to the MockContextFactory
to create the context.
- Author:
- Alexander Ananiev
Method Summary |
java.lang.Object |
getObjectInstance(java.lang.Object urlInfo,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable env)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
javaURLContextFactory
public javaURLContextFactory()
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object urlInfo,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable env)
throws java.lang.Exception
- Specified by:
getObjectInstance
in interface javax.naming.spi.ObjectFactory
- Throws:
java.lang.Exception