|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.loggers.debug.DebugAspect
public class DebugAspect
An aspect for source-code tracing at the method level. One DebugLogger aspect instance exists for each Java class using tracing. Tracer must be registered with the DebugLogger. Logging is always done at a level basis, with debug log messages exceeding the trace threshold being traced, others being discarded.
| Constructor Summary | |
|---|---|
DebugAspect()
|
|
| Method Summary | |
|---|---|
static boolean |
shouldTrace()
Pointcut for matching only if there are publishers. |
void |
traceConstructor(org.aspectj.lang.JoinPoint thisJoinPoint)
AspectJ Implementation. |
void |
traceNonStaticMethodEntry(org.aspectj.lang.JoinPoint thisJoinPoint,
java.lang.Object obj)
AspectJ Implementation. |
void |
traceReturn(org.aspectj.lang.JoinPoint.StaticPart thisJoinPointStaticPart,
java.lang.Object ret)
AspectJ Implementation. |
void |
traceStaticMethodEntry(org.aspectj.lang.JoinPoint thisJoinPoint)
AspectJ Implementation. |
void |
traceThrown(org.aspectj.lang.JoinPoint.StaticPart thisJoinPointStaticPart,
java.lang.Throwable ex)
AspectJ Implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugAspect()
| Method Detail |
|---|
public static boolean shouldTrace()
public void traceConstructor(org.aspectj.lang.JoinPoint thisJoinPoint)
thisJoinPoint - the JoinPoint reflection object.
public void traceNonStaticMethodEntry(org.aspectj.lang.JoinPoint thisJoinPoint,
java.lang.Object obj)
thisJoinPoint - the JoinPoint reflection object.obj - the object this method operations on.public void traceStaticMethodEntry(org.aspectj.lang.JoinPoint thisJoinPoint)
thisJoinPoint - the JoinPoint reflection object.
public void traceReturn(org.aspectj.lang.JoinPoint.StaticPart thisJoinPointStaticPart,
java.lang.Object ret)
thisJoinPointStaticPart - the JoinPoint reflection object.ret - the return value of the method.
public void traceThrown(org.aspectj.lang.JoinPoint.StaticPart thisJoinPointStaticPart,
java.lang.Throwable ex)
thisJoinPointStaticPart - the JoinPoint reflection object.ex - the exception thrown.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||