ITracingService defines the methods to configure the Tracing service.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Method Summary | |
---|---|
void |
disable(long componentName) Disables a specific tracing component |
void |
disableTracing() Disables tracing subsystem. |
void |
enable(long componentName) Enables a specific tracing component |
void |
enableTracing() Enable tracing subsystem. |
void |
entry(long componentName, 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 componentName, java.lang.String className,
java.lang.String methodName) Writes an exit in the trace file to record the exit from a method |
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 |
boolean |
isClientInfoEnabled() Checks if client tracing information is enabled. |
boolean |
isTraceable(long componentName) Checks if a particular component is tracable. |
boolean |
isTraceEnabled() Checks if tracing is enabled. |
void |
setClientInfoEnabled(boolean value) Sets the client tracing information option. |
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. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Method Detail |
---|
public void disable(long componentName)
public void disableTracing()
public void enable(long componentName)
public void enableTracing()
public void entry(long componentName, java.lang.String className, java.lang.String methodName)
className
- class namemethodName
- method namepublic void exit(long componentName, java.lang.String className, java.lang.String methodName, java.lang.Object retValue)
className
- class namemethodName
- method nameretValue
- return object valuepublic void exit(long componentName, java.lang.String className, java.lang.String methodName)
className
- class namemethodName
- method namepublic boolean isClientInfoEnabled()
public boolean isTraceable(long componentName)
public boolean isTraceEnabled()
public void trace(long componentName, java.lang.String className, java.lang.String methodName, java.lang.String text)
componentName
- The name of the component to which the class
to be traced belongsmethodName
- the name of the method to be tracedtext
- the text to be recordedpublic void setClientInfoEnabled(boolean value)
value
- client tracing information enablement
value