FileDocCategorySizeDatePackage
RepositoryInitContextFactory.javaAPI DocGlassfish v2 API3269Fri May 04 22:35:10 BST 2007com.sun.enterprise.repository

RepositoryInitContextFactory

public class RepositoryInitContextFactory extends Object implements InitialContextFactory
author
Harish Prabandham

Fields Summary
private static Logger
_logger
Constructors Summary
Methods Summary
public javax.naming.ContextgetInitialContext(java.util.Hashtable env)

    
       _logger=LogDomains.getLogger(LogDomains.ROOT_LOGGER);
        
        return new RepositoryContext(env);
    
public static voidprint(java.util.Hashtable env)

// IASRI 4660742		System.out.println("RepositoryContextFactory[");
// START OF IASRI 4660742
		_logger.log(Level.FINE,"RepositoryContextFactory[");
// END OF IASRI 4660742
		for(Enumeration e = env.keys(); e.hasMoreElements(); )
		{
			String key = (String) e.nextElement();
			Object value = env.get(key);

// IASRI 4660742			System.out.println("(" + key + " , " + value + ")" );
// START OF IASRI 4660742
			_logger.log(Level.FINE,"(" + key + " , " + value + ")");
// END OF IASRI 4660742
		}
// IASRI 4660742		System.out.println("]");
// START OF IASRI 4660742
			_logger.log(Level.FINE,"]");
// END OF IASRI 4660742