info.joseluismartin.log
Class MethodTracer
java.lang.Object
info.joseluismartin.log.MethodTracer
public class MethodTracer
- extends Object
A Log method tracer to use as around advice to avoid "in code" debug
Enter/Exit method traces.
Example:
- Author:
- Jose Luis Martin - (jlm@joseluismartin.info)
|
Method Summary |
Object |
traceMethod(org.aspectj.lang.ProceedingJoinPoint pjp)
Simple Around Advice for trace in/out method execution |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodTracer
public MethodTracer()
traceMethod
public Object traceMethod(org.aspectj.lang.ProceedingJoinPoint pjp)
throws Throwable
- Simple Around Advice for trace in/out method execution
- Parameters:
pjp - the joint point
- Returns:
- returned object.
- Throws:
Throwable - for the method
Copyright © 2012 JDAL. All Rights Reserved.