Package org.eclipse.jetty.jndi.java
Class javaURLContextFactory
- java.lang.Object
-
- org.eclipse.jetty.jndi.java.javaURLContextFactory
-
- All Implemented Interfaces:
ObjectFactory
public class javaURLContextFactory extends Object implements 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 ObjectgetObjectInstance(Object url, Name name, Context ctx, Hashtable env)Either return a new context or the resolution of a url.
-
-
-
Method Detail
-
getObjectInstance
public Object getObjectInstance(Object url, Name name, Context ctx, Hashtable env) throws Exception
Either return a new context or the resolution of a url.- Specified by:
getObjectInstancein interfaceObjectFactory- Parameters:
url- anObjectvaluename- aNamevaluectx- aContextvalueenv- aHashtablevalue- Returns:
- a new context or the resolved object for the url
- Throws:
Exception- if an error occurs
-
-