Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » util » [javadoc | source]
org.apache.openejb.util
public final class: LogCategory [javadoc | source]
java.lang.Object
   org.apache.openejb.util.LogCategory
Contains Logger categories used in OpenEJB. Be careful when adding new Categories. For example, if a new Category named OpenEJB.shutdown needs to be added, then the following is not a recommended way public static final LogCategory OPENEJB_SHUTDOWN = new LogCategory("OpenEJB.shutdown"); The above is not recommended because the above logger has a parent logger in OpenEJB. If we change the Parent logger category i.e. lets say to OPENEJB (all uppercase), then to maintain the parent-child relationship, we will need to change other loggers too. For example, we will not need to change OPENEJB_STARTUP and OPENEJB_SERVER because of the way they are defined (using OPENEJB.name as a prefix). A better way of adding the Category would be public static final LogCategory OPENEJB_SHUTDOWN = new LogCategory( OPENEJB.name + ".shutdown");
Field Summary
public static final  LogCategory OPENEJB     
public static final  LogCategory OPENEJB_ADMIN     
public static final  LogCategory OPENEJB_STARTUP     
public static final  LogCategory OPENEJB_STARTUP_CONFIG     
public static final  LogCategory OPENEJB_STARTUP_VALIDATION     
public static final  LogCategory OPENEJB_SERVER     
public static final  LogCategory OPENEJB_SERVER_REMOTE     
public static final  LogCategory OPENEJB_SECURITY     
public static final  LogCategory OPENEJB_RESOURCE_JDBC     
public static final  LogCategory OPENEJB_CONNECTOR     
public static final  LogCategory OPENEJB_DEPLOY     
public static final  LogCategory OPENEJB_HSQL     
public static final  LogCategory OPENEJB_WS     
public static final  LogCategory TRANSACTION     
public static final  LogCategory ACTIVEMQ     
public static final  LogCategory GERONIMO     
public static final  LogCategory OPENJPA     
public static final  LogCategory CORBA_ADAPTER     
public static final  LogCategory AXIS     
public static final  LogCategory AXIS2     
public static final  LogCategory CXF     
public static final  LogCategory TIMER     
public static final  LogCategory HTTPSERVER     
public static final  LogCategory SERVICEPOOL     
Method from org.apache.openejb.util.LogCategory Summary:
createChild,   getName
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openejb.util.LogCategory Detail:
 public LogCategory createChild(String child) 
    Creates a child category of this category. Use this method sparingly. This method is to be used in only those circumstances where the name of the category is not known upfront and is a derived name. If you know the name of the category, it is highly recommended to add a static final field of type LogCategory in this class
 public String getName()