org.objectweb.jeremie.services.registry.jndi
Class JRMIInitialContextFactory
java.lang.Object
org.objectweb.jeremie.services.registry.jndi.JRMIInitialContextFactory
- All Implemented Interfaces:
- InitialContextFactory
- public class JRMIInitialContextFactory
- extends Object
- implements InitialContextFactory
Provides an initial context factory implementation for constructing Jeremie
registry contexts.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRMIInitialContextFactory
public JRMIInitialContextFactory()
- Creates an instance of a JRMIInitialContextFactory.
getInitialContext
public Context getInitialContext(Hashtable env)
throws NamingException
- Creates a Jeremie registry context, possibly using information
from the given environment.
- Specified by:
getInitialContext in interface InitialContextFactory
- Parameters:
env - a hashtable representing the environment, including
java.naming.provider.url if set.
- Returns:
- a Jeremie registry context.
- Throws:
NamingException - if something goes wrong.