Package org.proxy4j.core.jdk
Class JdkMethodInvocation
- java.lang.Object
-
- org.proxy4j.core.jdk.JdkMethodInvocation
-
- All Implemented Interfaces:
org.aopalliance.intercept.Invocation,org.aopalliance.intercept.Joinpoint,org.aopalliance.intercept.MethodInvocation
public class JdkMethodInvocation extends Object implements org.aopalliance.intercept.MethodInvocation
JDK
Proxy-based implementation of aMethodInvocation.- Author:
- Brennan Spies
-
-
Constructor Summary
Constructors Constructor Description JdkMethodInvocation(Object target, Method method, Object[] args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]getArguments()MethodgetMethod()AccessibleObjectgetStaticPart()ObjectgetThis()Objectproceed()
-
-
-
Method Detail
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfaceorg.aopalliance.intercept.MethodInvocation
-
getArguments
public Object[] getArguments()
- Specified by:
getArgumentsin interfaceorg.aopalliance.intercept.Invocation
-
proceed
public Object proceed() throws Throwable
- Specified by:
proceedin interfaceorg.aopalliance.intercept.Joinpoint- Throws:
Throwable
-
getThis
public Object getThis()
- Specified by:
getThisin interfaceorg.aopalliance.intercept.Joinpoint
-
getStaticPart
public AccessibleObject getStaticPart()
- Specified by:
getStaticPartin interfaceorg.aopalliance.intercept.Joinpoint
-
-