|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectpatterntesting.runtime.log.Trace
public final class Trace
This class works together with the (Abstract)TraceAspect to provide some kind of tracing information.
| Method Summary | |
|---|---|
static void |
end(JoinPoint joinpoint)
Logs the trace with a start sign ("<"). |
static void |
end(JoinPoint joinpoint,
Object result)
Logs the trace with a start sign ("<"). |
static void |
end(JoinPoint joinpoint,
String suffix)
Logs the trace with a start sign ("<"). |
static void |
start(JoinPoint joinpoint)
Logs the trace with a start sign (">"). |
static void |
throwing(JoinPoint joinpoint,
Throwable t)
Logs the thrown exception. |
static void |
trace(JoinPoint joinpoint)
Logs the trace with a "|" sign. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void start(JoinPoint joinpoint)
joinpoint - the joinpointpublic static void end(JoinPoint joinpoint)
joinpoint - the joinpoint
public static void end(JoinPoint joinpoint,
Object result)
joinpoint - the joinpointresult - the result
public static void throwing(JoinPoint joinpoint,
Throwable t)
joinpoint - the joinpointt - the t
public static void end(JoinPoint joinpoint,
String suffix)
joinpoint - the joinpointsuffix - the suffixpublic static void trace(JoinPoint joinpoint)
joinpoint - the joinpoint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||