Class javaURLContextFactory

  • All Implemented Interfaces:
    InitialContextFactory, ObjectFactory

    public class javaURLContextFactory
    extends Object
    implements ObjectFactory, InitialContextFactory
    Context factory for the "java:" namespace.

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

    • Adding a java.naming.factory.url.pkgs=org.apache.catalina.util.naming property to the JNDI properties file
    • Setting an environment variable named Context.URL_PKG_PREFIXES with its value including the org.apache.catalina.util.naming package name. More detail about this can be found in the JNDI documentation : NamingManager.getURLContext(java.lang.String, java.util.Hashtable).
    Version:
    $Revision: 1.2 $ $Date: 2005/12/08 01:29:08 $
    Author:
    Remy Maucherat