FileDocCategorySizeDatePackage
SerialInitContextFactory.javaAPI DocGlassfish v2 API7234Sun Jul 15 19:10:30 BST 2007com.sun.enterprise.naming

SerialInitContextFactory

public class SerialInitContextFactory extends Object implements InitialContextFactory
Implements the JNDI SPI InitialContextFactory interface used to create the InitialContext objects. It creates an instance of the serial context.

Fields Summary
private Hashtable
defaultEnv
private com.sun.appserv.naming.S1ASCtxFactory
s1asCtxFactory
private static boolean
_initializeOrbManager
Constructors Summary
public SerialInitContextFactory()
Default constructor. Creates an ORB if one is not already created.

Methods Summary
public javax.naming.ContextgetInitialContext(java.util.Hashtable env)
Create the InitialContext object.

public static voidsetInitializeOrbManager(boolean init)
Set to false if you do not want the OrbManager to be initialized. This is necessary in the NodeAgent since OrbManager initialization causes the NSS certificate database to be opended (and loaded) in which case it cannot be synchronized on Windows platforms (file in use).