Class BeforeAdviceMethodInvocationAdapter

  • All Implemented Interfaces:
    org.apache.shiro.aop.MethodInvocation

    public class BeforeAdviceMethodInvocationAdapter
    extends Object
    implements org.apache.shiro.aop.MethodInvocation
    Helper class that adapts an AspectJ JoinPoint.
    Since:
    1.0
    • Constructor Detail

      • BeforeAdviceMethodInvocationAdapter

        public BeforeAdviceMethodInvocationAdapter​(Object anObject,
                                                   Method aMethod,
                                                   Object[] someArguments)
        Creates a new BeforeAdviceMethodInvocationAdapter instance.
        Parameters:
        aMethod - The method to invoke.
        someArguments - The arguments of the method invocation.
    • Method Detail

      • getArguments

        public Object[] getArguments()
        Specified by:
        getArguments in interface org.apache.shiro.aop.MethodInvocation
      • getMethod

        public Method getMethod()
        Specified by:
        getMethod in interface org.apache.shiro.aop.MethodInvocation
      • proceed

        public Object proceed()
                       throws Throwable
        Specified by:
        proceed in interface org.apache.shiro.aop.MethodInvocation
        Throws:
        Throwable
      • getThis

        public Object getThis()
        Specified by:
        getThis in interface org.apache.shiro.aop.MethodInvocation
        Since:
        1.0