|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.perf4j.aop.AgnosticTimingAspect
net.sf.seam.perf4j.SeamTimingAspect
public class SeamTimingAspect
An implementation of Perf4j's AgnosticTimingAspect using Seam Logger to log results.
| Constructor Summary | |
|---|---|
SeamTimingAspect()
Causes default logger and default message generator to be used. |
|
SeamTimingAspect(org.jboss.seam.log.Log logger)
Allows to specify a logger to be used. |
|
| Method Summary | |
|---|---|
Object |
doPerfLogging(SeamJoinPoint sjp,
Profiled profiled)
Executes the real profiling method from Perf4j. |
protected LoggingStopWatch |
newStopWatch(String loggerName,
String levelName)
Returns an implementation of StopWatch using Seam logger. |
| Methods inherited from class org.perf4j.aop.AgnosticTimingAspect |
|---|
evaluateJexl, getJexlExpression, getStopWatchMessage, getStopWatchTag, runProfiledMethod |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SeamTimingAspect()
public SeamTimingAspect(org.jboss.seam.log.Log logger)
logger - logger to be used| Method Detail |
|---|
public Object doPerfLogging(SeamJoinPoint sjp,
Profiled profiled)
throws Throwable
sjp - seam join pointprofiled - profiled annotation from profiled method
Throwable - exception thrown by executing method
protected LoggingStopWatch newStopWatch(String loggerName,
String levelName)
loggerName - logger name passed to StopWatchlevelName - logging level name passed to StopWatch
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||