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

Constructor Summary
javaURLContextFactory()
           
 
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
 

Constructor Detail

javaURLContextFactory

public javaURLContextFactory()
Method Detail

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


Intalio Inc. (C) 1999-2001. All rights reserved.