tyrex.naming.java
Class javaURLContextFactory
java.lang.Object
tyrex.naming.java.javaURLContextFactory
- All Implemented Interfaces:
- javax.naming.spi.ObjectFactory
- public class javaURLContextFactory
- extends java.lang.Object
- implements javax.naming.spi.ObjectFactory
Implements a URL context factory for the java: URL. Exposes
the environment naming context (java:/comp) as a read-only
context as per the J2EE container requirements.
To use this context factory the JNDI properties file must include
the following property:
java.naming.factory.url.pkgs=tyrex.naming
- Version:
- $Revision: 1.6 $ $Date: 2001/03/12 19:20:17 $
- Author:
- Assaf Arkin
- See Also:
JavaContext
Method Summary |
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable env)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
javaURLContextFactory
public javaURLContextFactory()
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable env)
throws javax.naming.NamingException
- Specified by:
getObjectInstance
in interface javax.naming.spi.ObjectFactory
- Throws:
javax.naming.NamingException
Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.