org.objectweb.carol.jndi.spi
Class MultiOrbInitialContextFactory

java.lang.Object
  extended byorg.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
All Implemented Interfaces:
javax.naming.spi.InitialContextFactory

public class MultiOrbInitialContextFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory

Class MultiOrbInitialContextFactory is the CAROL JNDI SPI Context Factory for multi Context management.

Author:
Guillaume Riviere, Florent Benoit (Refactoring)
See Also:
InitialContextFactory

Constructor Summary
MultiOrbInitialContextFactory()
           
 
Method Summary
 javax.naming.Context getInitialContext(java.util.Hashtable env)
          Creates an Initial Context for beginning name resolution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiOrbInitialContextFactory

public MultiOrbInitialContextFactory()
Method Detail

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable env)
                                       throws javax.naming.NamingException
Creates an Initial Context for beginning name resolution. Special requirements of this context are supplied using environment.

Specified by:
getInitialContext in interface javax.naming.spi.InitialContextFactory
Parameters:
env - The possibly null environment specifying information to be used in the creation of the initial context.
Returns:
A non-null initial context object that implements the Context interface.
Throws:
javax.naming.NamingException - If cannot create an initial context.