org.jnp.interfaces
Class LocalOnlyContextFactory
java.lang.Object
org.jnp.interfaces.LocalOnlyContextFactory
- All Implemented Interfaces:
- InitialContextFactory, ObjectFactory
public class LocalOnlyContextFactory
- extends Object
- implements InitialContextFactory, ObjectFactory
Only use locally available naming server
- Version:
- $Revision: 37459 $
- Author:
- Bill Burke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalOnlyContextFactory
public LocalOnlyContextFactory()
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 © 2008 JBoss Inc.. All Rights Reserved.