org.clazzes.util.aop
Class ReflectiveMethodInvocation
java.lang.Object
org.clazzes.util.aop.ReflectiveMethodInvocation
- All Implemented Interfaces:
- org.aopalliance.intercept.Invocation, org.aopalliance.intercept.Joinpoint, org.aopalliance.intercept.MethodInvocation
public class ReflectiveMethodInvocation
- extends Object
- implements org.aopalliance.intercept.MethodInvocation
An implementation of MethodInvocation
, which operates on an ordinary
Java Object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectiveMethodInvocation
public ReflectiveMethodInvocation(Object target,
Method method,
Object[] arguments)
- Parameters:
target
- The object on which to invoke the given method.method
- The method to call.arguments
- The arguments to the method.
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.