|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ITracingService defines the methods to configure the Tracing service.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
Method Summary | |
void |
disable(long componentName)
This method is called to disable a specific tracing component |
void |
disableTracing()
This method is used to disable Tracing. |
void |
enable(long componentName)
This method is called to enable a specific tracing component |
void |
enableTracing()
This method is used to enable Tracing. |
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,
java.lang.Object retValue)
Writes an entry in the trace file to record the exit from a method |
boolean |
isClientInfoEnabled()
This method is used to check if Client Tracing information is enabled. |
boolean |
isTraceable(long componentName)
This method is used to check if a particular component is tracable. |
boolean |
isTraceEnabled()
This method is used to check if Tracing is enabled. |
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)
component
- longpublic void disableTracing()
public void enable(long componentName)
component
- longpublic void enableTracing()
public void entry(long componentName, java.lang.String className, java.lang.String methodName)
componentId
- longclass
- name Stringmethod
- name Stringpublic void exit(long componentName, java.lang.String className, java.lang.String methodName, java.lang.Object retValue)
componentId
- longclass
- name Stringmethod
- name Stringreturn
- object value Objectpublic boolean isClientInfoEnabled()
public boolean isTraceable(long componentName)
componentId
- longpublic 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 belongs.classname
- The name of the class to be traced.methodName
- The name of the method to be traced.text
- The text to be recorded.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |