FileDocCategorySizeDatePackage
LogDomains.javaAPI DocGlassfish v2 API4662Fri May 04 22:33:22 BST 2007com.sun.enterprise.logging

LogDomains

public class LogDomains extends Object
Class LogDomains

Fields Summary
private static final String
DOMAIN_ROOT
public static final String
AVK_VERIFIER_LOGGER
public static final String
AVK_APPVERIFICATION_LOGGER
public static final String
AVK_APPVERIFICATION_TOOLS_LOGGER
public static final String
AVK_APPVERIFICATION_XML_LOGGER
private static final String
PACKAGE_ROOT
private static final String
AVK_VERIFIER_BUNDLE
private static final String
AVK_APPVERIFICATION_BUNDLE
private static final String
AVK_APPVERIFICATION_TOOLS_BUNDLE
private static final String
AVK_APPVERIFICATION_XML_BUNDLE
private static Hashtable
loggers
Constructors Summary
private LogDomains()


    // static initializer
     
      loggers = new Hashtable<String, Logger>();
      loggers.put(AVK_VERIFIER_LOGGER,
                  Logger.getLogger(AVK_VERIFIER_LOGGER,
                                   AVK_VERIFIER_BUNDLE));
      // When run in instrumentation mode, with javke.jar in classpath
      // the calls below will succeed
      try {
      loggers.put(AVK_APPVERIFICATION_LOGGER,
                  Logger.getLogger(AVK_APPVERIFICATION_LOGGER,
                                   AVK_APPVERIFICATION_BUNDLE));
      loggers.put(AVK_APPVERIFICATION_TOOLS_LOGGER,
                  Logger.getLogger(AVK_APPVERIFICATION_TOOLS_LOGGER,
                                   AVK_APPVERIFICATION_TOOLS_BUNDLE));
      loggers.put(AVK_APPVERIFICATION_XML_LOGGER,
                  Logger.getLogger(AVK_APPVERIFICATION_XML_LOGGER,
                                   AVK_APPVERIFICATION_XML_BUNDLE));
      }catch(Exception e) {
         // during normal appserver-run, these 3 initializations will fail
      }
    
Methods Summary
public static java.util.logging.LoggergetLogger(java.lang.String name)

        return (Logger) loggers.get(name);