org.perf4j.aop
Interface AbstractJoinPoint


public interface AbstractJoinPoint

AOP-framework agnostic join point. An AOP implementation agnostic interface which offers all information required to do a measure, proceed original method and log result in customizable way. Specific Join Point implementations in AOP libraries/frameworks should implement it wrapping their own internal structures.

Since:
0.9.13
Author:
Marcin ZajÄ…czkowski, 2010-01-14

Method Summary
 Object getExecutingObject()
          Returns an object whose method was annotated (profiled).
 String getMethodName()
          Returns a processing method name.
 Object[] getParameters()
          Returns a parameters (arguments) array of processing method.
 Object proceed()
          Calls profiled method and returns its result.
 

Method Detail

proceed

Object proceed()
               throws Throwable
Calls profiled method and returns its result.

Returns:
result of proceeding
Throws:
Throwable - thrown exception

getExecutingObject

Object getExecutingObject()
Returns an object whose method was annotated (profiled).

Returns:
an object whose method was annotated

getParameters

Object[] getParameters()
Returns a parameters (arguments) array of processing method.

Returns:
array of parameters

getMethodName

String getMethodName()
Returns a processing method name.

Returns:
processing method name


Copyright © 2008-2011 perf4j.org. All Rights Reserved.