org.jnp.interfaces
Class NamingContextFactory

java.lang.Object
  extended by org.jnp.interfaces.NamingContextFactory
All Implemented Interfaces:
InitialContextFactory, ObjectFactory

public class NamingContextFactory
extends Object
implements InitialContextFactory, ObjectFactory

The jnp naming provider InitialContextFactory implementation.

Version:
$Revision: 57199 $
Author:
Rickard Oberg, Scott.Stark@jboss.org
See Also:
InitialContextFactory

Constructor Summary
NamingContextFactory()
           
 
Method Summary
 Context getInitialContext(Hashtable env)
           
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamingContextFactory

public NamingContextFactory()
Method Detail

getInitialContext

public Context getInitialContext(Hashtable env)
                          throws NamingException
Specified by:
getInitialContext in interface InitialContextFactory
Throws:
NamingException

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable environment)
                         throws Exception
Specified by:
getObjectInstance in interface ObjectFactory
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.