org.objectweb.carol.jndi.spi
Class MultiOrbInitialContextFactory
java.lang.Object
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
- All Implemented Interfaces:
- javax.naming.spi.InitialContextFactory, javax.naming.spi.ObjectFactory
- public class MultiOrbInitialContextFactory
- extends java.lang.Object
- implements javax.naming.spi.ObjectFactory, javax.naming.spi.InitialContextFactory
Class MultiOrbInitialContextFactory
is the CAROL JNDI SPI
Context Factory for multi Context management.
- Version:
- 1.0, 15/07/2002
- Author:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
- See Also:
ObjectFactory
,
InitialContextFactory
Method Summary |
javax.naming.Context |
getInitialContext(java.util.Hashtable env)
Get a new multi initial context |
java.lang.Object |
getObjectInstance(java.lang.Object ref,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable env)
never use for the moment |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiOrbInitialContextFactory
public MultiOrbInitialContextFactory()
getInitialContext
public javax.naming.Context getInitialContext(java.util.Hashtable env)
throws javax.naming.NamingException
- Get a new multi initial context
- Specified by:
getInitialContext
in interface javax.naming.spi.InitialContextFactory
- Returns:
- the new Multi Initial Context
- Throws:
javax.naming.NamingException
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object ref,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable env)
throws javax.naming.NamingException
- never use for the moment
- Specified by:
getObjectInstance
in interface javax.naming.spi.ObjectFactory
- Throws:
javax.naming.NamingException