java.lang.Objectcom.ibm.commerce.ras.ECTracingProvider
ECTracingProvider is used to configure tracing and write the tracing information to output.
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Constructor Summary | |
ECTracingProvider() |
Method Summary | |
void | disable() Disables tracing subsystem. |
void | disable(long componentId) Disables a specific tracing component. |
void | disableTracing() Disables tracing subsystem. |
void | enable() Enables tracing subsystem. |
void | enable(long componentId) Enables a specific tracing component. |
void | enableTracing() Enables tracing subsystem. |
void | entry(long componentId, java.lang.String className, java.lang.String methodName) Writes an entry in the trace file to record the entry from a method. |
void | exit(long componentId, java.lang.String className, java.lang.String methodName) Writes an entry in the trace file to record the exit from a method |
void | exit(long componentId, 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 |
protected void | finalize() Closes the file output for cleanup. |
static long | getComponent(java.lang.Object comp) Gets the component id |
static java.lang.String | getComponentName(long componentId) Gets the component name. |
int | getSizeOfComponent() Returns the number of tracing components. |
static ECTracingProvider | getUniqueInstance() Gets an unique instance of ECTracingProvider. |
boolean | isClientInfoEnabled() Checks if client tracing information is enabled. |
boolean | isTraceable(long componentId) This method is used to check if a particular component is tracable. |
boolean | isTraceEnabled() Checks if tracing is enabled. |
void | overrideMask(int[] componentMask) Updates the status of the tracing components. |
void | setClientInfoEnabled(boolean value) Sets the Client Tracing information option. |
void | trace(long componentId, 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. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public ECTracingProvider()
Method Detail |
public void disable()
public void disable(long componentId)
public void disableTracing()
public void enable()
public void enable(long componentId)
public void enableTracing()
public void entry(long componentId, java.lang.String className, java.lang.String methodName)
public void exit(long componentId, java.lang.String className, java.lang.String methodName)
public void exit(long componentId, java.lang.String className, java.lang.String methodName, java.lang.Object retValue)
protected void finalize()
public static long getComponent(java.lang.Object comp)
public static java.lang.String getComponentName(long componentId)
public int getSizeOfComponent()
public static ECTracingProvider getUniqueInstance()
public boolean isClientInfoEnabled()
public boolean isTraceable(long componentId)
public boolean isTraceEnabled()
public void overrideMask(int[] componentMask)
public void trace(long componentId, java.lang.String className, java.lang.String methodName, java.lang.String text)
public void setClientInfoEnabled(boolean value)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.