java.lang.Objectcom.ibm.commerce.ras.ECTrace
ECTrace is the class used for tracing the execution flow of the WebSphere Commerce Application Server. The names of the components that are traceable and the name of the file that ECTrace writes to are determined by the configuration found in the $INSTALLROOT/instances/$INSTANCE_NAME/xml/$INSTANCE_NAME.xml file, under "LogSystem" XML element.
This class expose static methods. The user will call the methods exposed by this class without instantiating any object of this type.
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Method Summary | |
static void | disable(long componentName) Disables a specific tracing component. |
static void | disableTracing() Disables tracing subsystem. |
static void | enable(long componentName) Enables a specific tracing component. |
static void | enableTracing() Enable tracing subsystem. |
static void | entry(long componentName, java.lang.String className, java.lang.String methodName) Writes an entry in the trace file to record the entrance to a method. |
static void | exit(long componentName, java.lang.String className, java.lang.String methodName) Writes an exit in the trace file to record the exit from a method. |
static void | exit(long componentName, java.lang.String className, java.lang.String methodName, java.lang.Object retValue) Writes an entry in the trace file to record the exit from a method. |
static boolean | isClientInfoEnabled() Checks if the client tracing info option is enabled. |
static boolean | isTraceEnabled() Checks if the Tracing is enabled. |
static void | setClientInfoEnabled(boolean value) Sets client information option. |
static void | trace(long componentName, java.lang.String className, java.lang.String methodName, java.lang.String text) Writes an entry in the trace file to record a trace point in a method. |
static boolean | traceEnabled(long componentName) Check if the a specific tracing component is enabled. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Method Detail |
public static void disable(long componentName)
public static void disableTracing()
public static void enable(long componentName)
public static void enableTracing()
public static void entry(long componentName, java.lang.String className, java.lang.String methodName)
public static void exit(long componentName, java.lang.String className, java.lang.String methodName)
public static void exit(long componentName, java.lang.String className, java.lang.String methodName, java.lang.Object retValue)
public static boolean isClientInfoEnabled()
public static boolean isTraceEnabled()
public static void trace(long componentName, java.lang.String className, java.lang.String methodName, java.lang.String text)
public static boolean traceEnabled(long componentName)
public static void setClientInfoEnabled(boolean value)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.