Package org.eclipse.jetty.jndi.java
Class javaURLContextFactory
java.lang.Object
org.eclipse.jetty.jndi.java.javaURLContextFactory
- All Implemented Interfaces:
ObjectFactory
javaURLContextFactory
This is the URL context factory for the java:
URL.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
javaURLContextFactory
public javaURLContextFactory()
-
-
Method Details
-
getObjectInstance
Either return a new context or the resolution of a url.- Specified by:
getObjectInstance
in interfaceObjectFactory
- Parameters:
url
- anObject
valuename
- aName
valuectx
- aContext
valueenv
- aHashtable
value- Returns:
- a new context or the resolved object for the url
- Throws:
Exception
- if an error occurs
-