{
}
public final synchronized Context getInitialContext( Hashtable env ) throws NamingException
{
Configuration cfg = Configuration.toConfiguration( env );
env = ( Hashtable ) env.clone();
String principal = getPrincipal( env );
byte[] credential = getCredential( env );
String authentication = getAuthentication( env );
String providerUrl = getProviderUrl( env );
ContextFactoryService service = ContextFactoryService.getInstance( cfg.getInstanceId() );
// Execute configuration
if( cfg instanceof ShutdownConfiguration )
{
service.shutdown();