com.sun.enterprise.naming
Class SerialInitContextFactory

java.lang.Object
  extended by com.sun.enterprise.naming.SerialInitContextFactory
All Implemented Interfaces:
InitialContextFactory

public class SerialInitContextFactory
extends Object
implements InitialContextFactory

This class has the name of the legacy SerialInitContextFactory class in V2 and earlier. The naming implementations have been moved to the impl subpackage. This class is provided for backward compatibility, since the name of the class was exposed as part of the bootstrap properties. Typically, the java.naming.factory.initial property is resolved via an embedded jndi.properties file, so in the common case the current SerialInitContextFactory class will be instantiated directly.


Constructor Summary
SerialInitContextFactory()
           
 
Method Summary
 Context getInitialContext(Hashtable env)
          Create the InitialContext object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialInitContextFactory

public SerialInitContextFactory()
Method Detail

getInitialContext

public Context getInitialContext(Hashtable env)
                          throws NamingException
Create the InitialContext object.

Specified by:
getInitialContext in interface InitialContextFactory
Throws:
NamingException


Copyright © 2012. All Rights Reserved.