|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RASITraceLogger
defines a set of methods that must be
implemented to create RAS trace data.
RASILogger
,
RASTraceLogger
Method Summary | |
void |
entry(long type,
java.lang.Object obj,
java.lang.String methodName)
Traces entry into a non-static method. |
void |
entry(long type,
java.lang.Object obj,
java.lang.String methodName,
java.lang.Object parm1)
Traces entry into a non-static method. |
void |
entry(long type,
java.lang.Object obj,
java.lang.String methodName,
java.lang.Object[] parms)
Traces entry into a non-static method. |
void |
entry(long type,
java.lang.Object obj,
java.lang.String methodName,
java.lang.Object parm1,
java.lang.Object parm2)
Traces entry into a non-static method. |
void |
entry(long type,
java.lang.String className,
java.lang.String methodName)
Traces entry into a static method. |
void |
entry(long type,
java.lang.String className,
java.lang.String methodName,
java.lang.Object parm1)
Traces entry into a static method. |
void |
entry(long type,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] parms)
Traces entry into a static method. |
void |
entry(long type,
java.lang.String className,
java.lang.String methodName,
java.lang.Object parm1,
java.lang.Object parm2)
Traces entry into a static method. |
void |
exception(long type,
java.lang.Object obj,
java.lang.String methodName,
java.lang.Exception exc)
Traces an Exception in a non-static method. |
void |
exception(long type,
java.lang.String className,
java.lang.String methodName,
java.lang.Exception exc)
Traces an Exception in a static method. |
void |
exit(long type,
java.lang.Object obj,
java.lang.String methodName)
Traces exit from a non-static method. |
void |
exit(long type,
java.lang.Object obj,
java.lang.String methodName,
java.lang.Object retValue)
Traces exit from a non-static method. |
void |
exit(long type,
java.lang.String className,
java.lang.String methodName)
Traces exit from a static method. |
void |
exit(long type,
java.lang.String className,
java.lang.String methodName,
java.lang.Object retValue)
Traces exit from a static method. |
java.util.Hashtable |
getConfig()
Gets the configuration of this object. |
long |
getTraceMask()
Gets the mask which defines the set of trace types that will be processed. |
void |
setConfig(java.util.Hashtable ht)
Sets the configuration of this object. |
void |
setTraceMask(long mask)
Sets the mask which defines the set of trace types that will be processed. |
void |
trace(long type,
java.lang.Object obj,
java.lang.String methodName,
java.lang.String text)
Traces data in a non-static method. |
void |
trace(long type,
java.lang.Object obj,
java.lang.String methodName,
java.lang.String text,
java.lang.Object parm1)
Traces data in a non-static method. |
void |
trace(long type,
java.lang.Object obj,
java.lang.String methodName,
java.lang.String text,
java.lang.Object[] parms)
Traces data in a non-static method. |
void |
trace(long type,
java.lang.Object obj,
java.lang.String methodName,
java.lang.String text,
java.lang.Object parm1,
java.lang.Object parm2)
Traces data in a non-static method. |
void |
trace(long type,
java.lang.String className,
java.lang.String methodName,
java.lang.String text)
Traces data in a static method. |
void |
trace(long type,
java.lang.String className,
java.lang.String methodName,
java.lang.String text,
java.lang.Object parm1)
Traces data in a static method. |
void |
trace(long type,
java.lang.String className,
java.lang.String methodName,
java.lang.String text,
java.lang.Object[] parms)
Traces data in a static method. |
void |
trace(long type,
java.lang.String className,
java.lang.String methodName,
java.lang.String text,
java.lang.Object parm1,
java.lang.Object parm2)
Traces data in a static method. |
Methods inherited from interface com.ibm.ras.RASILogger |
addHandler,
getHandlers,
isLoggable,
isSynchronous,
removeHandler,
setSynchronous |
Methods inherited from interface com.ibm.ras.RASIObject |
getDescription,
getName,
setDescription,
setName |
Method Detail |
public java.util.Hashtable getConfig()
Hashtable
containing the configuration.
This object inserts the following key/value pairs into the
configuration:
"traceMask" The mask which selects the trace types to be processed.All values are
Strings
.
The parent and extensions of this object may add additional keys.public void setConfig(java.util.Hashtable ht)
RASManager
to initialize a RAS object. It should not
be necessary for an application to use this method.ht
- A Hashtable
containing the configuration.
This object searches for the following keys:
"traceMask" The mask which selects the trace types to be processed.All values are
Strings
.
If a key is not found, that configuration element is not
updated.
The parent and extensions of this object may use additional keys.public long getTraceMask()
RASITraceEvent.TYPE_XXXX
constants.public void setTraceMask(long mask)
RASITraceEvent.TYPE_XXXX
constants.
The mask value is not validated against these types.mask
- The trace mask.public void entry(long type, java.lang.Object obj, java.lang.String methodName)
type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.public void entry(long type, java.lang.Object obj, java.lang.String methodName, java.lang.Object parm1)
type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.parm1
- An element to be displayed as trace data.public void entry(long type, java.lang.Object obj, java.lang.String methodName, java.lang.Object parm1, java.lang.Object parm2)
type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.parm1
- An element to be displayed as trace data.parm2
- An element to be displayed as trace data.public void entry(long type, java.lang.Object obj, java.lang.String methodName, java.lang.Object[] parms)
type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.parms
- An array of parameters passed to the method.public void entry(long type, java.lang.String className, java.lang.String methodName)
type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.public void entry(long type, java.lang.String className, java.lang.String methodName, java.lang.Object parm1)
type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.parm1
- An element to be displayed as trace data.public void entry(long type, java.lang.String className, java.lang.String methodName, java.lang.Object parm1, java.lang.Object parm2)
type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.parm1
- An element to be displayed as trace data.parm2
- An element to be displayed as trace data.public void entry(long type, java.lang.String className, java.lang.String methodName, java.lang.Object[] parms)
type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.parms
- An array of parameters passed to the method.public void exit(long type, java.lang.Object obj, java.lang.String methodName)
type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.public void exit(long type, java.lang.Object obj, java.lang.String methodName, java.lang.Object retValue)
type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.retValue
- The returned value.public void exit(long type, java.lang.String className, java.lang.String methodName)
type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.public void exit(long type, java.lang.String className, java.lang.String methodName, java.lang.Object retValue)
type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.retValue
- The returned value.public void trace(long type, java.lang.Object obj, java.lang.String methodName, java.lang.String text)
type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.text
- The trace text.public void trace(long type, java.lang.Object obj, java.lang.String methodName, java.lang.String text, java.lang.Object parm1)
type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.text
- The trace text.parm1
- An element to be displayed as trace data.public void trace(long type, java.lang.Object obj, java.lang.String methodName, java.lang.String text, java.lang.Object parm1, java.lang.Object parm2)
type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.text
- The trace text.parm1
- An element to be displayed as trace data.parm2
- An element to be displayed as trace data.public void trace(long type, java.lang.Object obj, java.lang.String methodName, java.lang.String text, java.lang.Object[] parms)
type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.text
- The trace text.parms
- An array of elements to be displayed as trace data.public void trace(long type, java.lang.String className, java.lang.String methodName, java.lang.String text)
type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.text
- The trace text.public void trace(long type, java.lang.String className, java.lang.String methodName, java.lang.String text, java.lang.Object parm1)
type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.text
- The trace text.parm1
- An element to be displayed as trace data.public void trace(long type, java.lang.String className, java.lang.String methodName, java.lang.String text, java.lang.Object parm1, java.lang.Object parm2)
type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.text
- The trace text.parm1
- An element to be displayed as trace data.parm2
- An element to be displayed as trace data.public void trace(long type, java.lang.String className, java.lang.String methodName, java.lang.String text, java.lang.Object[] parms)
type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.text
- The trace text.parms
- An array of elements to be displayed as trace data.public void exception(long type, java.lang.Object obj, java.lang.String methodName, java.lang.Exception exc)
Exception
in a non-static method.type
- The type of the trace point.obj
- The traced object ("this").methodName
- The name of the traced method.exc
- An exception.public void exception(long type, java.lang.String className, java.lang.String methodName, java.lang.Exception exc)
Exception
in a static method.type
- The type of the trace point.className
- The name of the traced class.methodName
- The name of the traced method.exc
- An exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |