com.ibm.btt.base
Class TraceCommLogging
java.lang.Object
com.ibm.btt.base.TraceCommLogging
public class TraceCommLogging
- extends java.lang.Object
This class is implemented to write the trace lines to Common Logging.
Java reflection is used to remove the dependency on common-logging.jar when
trace is not write to common-logging.
Method Summary |
protected void |
trace(java.lang.String component,
char level,
int bttType,
java.lang.String mainMessage,
java.lang.String threadID,
java.lang.String stack,
java.lang.String tID,
long lineNumber)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceCommLogging
public TraceCommLogging()
throws java.lang.ClassNotFoundException,
java.lang.SecurityException,
java.lang.NoSuchMethodException,
java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Constructor of TraceCommLogging. The reflection class and method is initialized here.
- Throws:
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
trace
protected void trace(java.lang.String component,
char level,
int bttType,
java.lang.String mainMessage,
java.lang.String threadID,
java.lang.String stack,
java.lang.String tID,
long lineNumber)
(c) Copyright IBM Corporation 1998, 2009