Package org.eclipse.jetty.jndi.java
Class javaURLContextFactory
- java.lang.Object
-
- org.eclipse.jetty.jndi.java.javaURLContextFactory
-
- All Implemented Interfaces:
javax.naming.spi.ObjectFactory
public class javaURLContextFactory extends java.lang.Object implements javax.naming.spi.ObjectFactory
javaURLContextFactoryThis is the URL context factory for the
java:
URL.
-
-
Constructor Summary
Constructors Constructor Description javaURLContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getObjectInstance(java.lang.Object url, javax.naming.Name name, javax.naming.Context ctx, java.util.Hashtable env)
Either return a new context or the resolution of a url.
-
-
-
Method Detail
-
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object url, javax.naming.Name name, javax.naming.Context ctx, java.util.Hashtable env) throws java.lang.Exception
Either return a new context or the resolution of a url.- Specified by:
getObjectInstance
in interfacejavax.naming.spi.ObjectFactory
- Parameters:
url
- anObject
valuename
- aName
valuectx
- aContext
valueenv
- aHashtable
value- Returns:
- a new context or the resolved object for the url
- Throws:
java.lang.Exception
- if an error occurs
-
-