Uses of Interface

Packages that use MethodInvocation
org.apache.shiro.aop Components used to support the framework's AOP/interception support classes. 
org.apache.shiro.aspectj AspectJ support for enabling dynamic authorization using Shiro's annotations. 
org.apache.shiro.authz.aop Contains AOP implementation support classes specifically used for authorization operations, particularly supporting AOP Method Interceptors and JSR-175 metadata Annotations. 
org.apache.shiro.spring.aop Spring AOP support for enabling Shiro annotations in Spring-configured applications. 

Uses of MethodInvocation in org.apache.shiro.aop

Methods in org.apache.shiro.aop with parameters of type MethodInvocation
protected  Annotation AnnotationMethodInterceptor.getAnnotation(MethodInvocation mi)
          Returns the Annotation that this interceptor will process for the specified method invocation.
 Annotation DefaultAnnotationResolver.getAnnotation(MethodInvocation mi, Class<? extends Annotation> clazz)
          Returns methodInvocation.getMethod().getAnnotation(clazz).
 Annotation AnnotationResolver.getAnnotation(MethodInvocation mi, Class<? extends Annotation> clazz)
          Returns an Annotation instance of the specified type based on the given MethodInvocation argument, or null if no annotation of that type could be found.
 Object MethodInterceptor.invoke(MethodInvocation methodInvocation)
          Invokes the specified MethodInvocation, allowing implementations to perform pre/post/finally surrounding the actual invocation.
 boolean AnnotationMethodInterceptor.supports(MethodInvocation mi)
          Returns true if this interceptor supports, that is, should inspect, the specified MethodInvocation, false otherwise.

Uses of MethodInvocation in org.apache.shiro.aspectj

Classes in org.apache.shiro.aspectj that implement MethodInvocation
 class BeforeAdviceMethodInvocationAdapter
          Helper class that adapts an AspectJ JoinPoint.

Uses of MethodInvocation in org.apache.shiro.authz.aop

Methods in org.apache.shiro.authz.aop with parameters of type MethodInvocation
protected abstract  void AuthorizingMethodInterceptor.assertAuthorized(MethodInvocation methodInvocation)
          Asserts that the specified MethodInvocation is allowed to continue by performing any necessary authorization (access control) checks first.
 void AuthorizingAnnotationMethodInterceptor.assertAuthorized(MethodInvocation mi)
          Ensures the calling Subject is authorized to execute the specified MethodInvocation.
protected  void AnnotationsAuthorizingMethodInterceptor.assertAuthorized(MethodInvocation methodInvocation)
          Iterates over the internal methodInterceptors collection, and for each one, ensures that if the interceptor supports the invocation, that the interceptor asserts that the invocation is authorized to proceed.
 Object AuthorizingMethodInterceptor.invoke(MethodInvocation methodInvocation)
          Invokes the specified method (methodInvocation.proceed() if authorization is allowed by first calling assertAuthorized.
 Object AuthorizingAnnotationMethodInterceptor.invoke(MethodInvocation methodInvocation)
          Ensures the methodInvocation is allowed to execute first before proceeding by calling the assertAuthorized method first.

Uses of MethodInvocation in org.apache.shiro.spring.aop

Methods in org.apache.shiro.spring.aop with parameters of type MethodInvocation
 Annotation SpringAnnotationResolver.getAnnotation(MethodInvocation mi, Class<? extends Annotation> clazz)

Uses of MethodInvocation in

Methods in that return MethodInvocation
protected  MethodInvocation AopAllianceAnnotationsAuthorizingMethodInterceptor.createMethodInvocation(Object implSpecificMethodInvocation)
          Creates a MethodInvocation that wraps an org.aopalliance.intercept.MethodInvocation instance, enabling Shiro Annotations in AOP Alliance environments (Spring, etc).

Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.