Class MethodInvocationImpl

java.lang.Object
org.duracloud.account.db.util.security.impl.MethodInvocationImpl
All Implemented Interfaces:
org.aopalliance.intercept.Invocation, org.aopalliance.intercept.Joinpoint, org.aopalliance.intercept.MethodInvocation

public class MethodInvocationImpl extends Object implements org.aopalliance.intercept.MethodInvocation
This class provides an implementation of the aopalliance MethodInvocation for use in AccessDecisionVoter security checks in cases where the application context is not managing the security AOP.
Author:
Andrew Woods Date: 4/8/11
  • Constructor Details

    • MethodInvocationImpl

      public MethodInvocationImpl(Object obj, String methodName, Object[] args)
  • Method Details

    • 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
    • getThis

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

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

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