|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.core.spring.aspect.PhasesCounterAndLoggingAspect
public final class PhasesCounterAndLoggingAspect
An AspectJ aspect to log the phases and calc the time needed.
Constructor Summary | |
---|---|
PhasesCounterAndLoggingAspect()
|
Method Summary | |
---|---|
void |
run()
A pointcut to the run method of the Phase. |
void |
startCounter(org.aspectj.lang.JoinPoint joinPoint)
Start the counter before the run method. |
void |
stopCounter(org.aspectj.lang.JoinPoint joinPoint)
Stop the counter after the run method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PhasesCounterAndLoggingAspect()
Method Detail |
---|
public void run()
public void startCounter(org.aspectj.lang.JoinPoint joinPoint)
joinPoint
- The join point of the advised method.public void stopCounter(org.aspectj.lang.JoinPoint joinPoint)
joinPoint
- The join point of the advised method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |