Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » naming » java » [javadoc | source]
org.apache.naming.java
public class: javaURLContextFactory [javadoc | source]
java.lang.Object
   org.apache.naming.java.javaURLContextFactory

All Implemented Interfaces:
    InitialContextFactory, ObjectFactory

Context factory for the "java:" namespace.

Important note : This factory MUST be associated with the "java" URL prefix, which can be done by either :

Field Summary
public static final  String MAIN     
protected static  Context initialContext    Initial context. 
Method from org.apache.naming.java.javaURLContextFactory Summary:
getInitialContext,   getObjectInstance
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.naming.java.javaURLContextFactory Detail:
 public Context getInitialContext(Hashtable environment) throws NamingException 
    Get a new (writable) initial context.
 public Object getObjectInstance(Object obj,
    Name name,
    Context nameCtx,
    Hashtable environment) throws NamingException 
    Crete a new Context's instance.