org.clazzes.util.aop
Class InterceptedMethodInvocation

java.lang.Object
  extended by org.clazzes.util.aop.InterceptedMethodInvocation
All Implemented Interfaces:
org.aopalliance.intercept.Invocation, org.aopalliance.intercept.Joinpoint, org.aopalliance.intercept.MethodInvocation

public class InterceptedMethodInvocation
extends Object
implements org.aopalliance.intercept.MethodInvocation

An implementation of MethodInvocation, which is intercepted by a MethodInterceptor.


Constructor Summary
InterceptedMethodInvocation(org.aopalliance.intercept.MethodInvocation target, org.aopalliance.intercept.MethodInterceptor interceptor)
           
 
Method Summary
 Object[] getArguments()
           
 Method getMethod()
           
 AccessibleObject getStaticPart()
           
 Object getThis()
           
 Object proceed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptedMethodInvocation

public InterceptedMethodInvocation(org.aopalliance.intercept.MethodInvocation target,
                                   org.aopalliance.intercept.MethodInterceptor interceptor)
Parameters:
target -
interceptor -
Method Detail

getArguments

public Object[] getArguments()
Specified by:
getArguments in interface org.aopalliance.intercept.Invocation

proceed

public Object proceed()
               throws Throwable
Specified by:
proceed in interface org.aopalliance.intercept.Joinpoint
Throws:
Throwable

getThis

public Object getThis()
Specified by:
getThis in interface org.aopalliance.intercept.Joinpoint

getStaticPart

public AccessibleObject getStaticPart()
Specified by:
getStaticPart in interface org.aopalliance.intercept.Joinpoint

getMethod

public Method getMethod()
Specified by:
getMethod in interface org.aopalliance.intercept.MethodInvocation


Copyright © 2012. All Rights Reserved.