Class 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 a MethodInvocation.

    Author:
    Brennan Spies
    • Constructor Detail

      • JdkMethodInvocation

        public JdkMethodInvocation​(Object target,
                                   Method method,
                                   Object[] args)
    • Method Detail

      • getMethod

        public Method getMethod()
        Specified by:
        getMethod in interface org.aopalliance.intercept.MethodInvocation
      • 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