Uses of Interface
org.apache.shiro.aop.MethodInvocation

Packages that use MethodInvocation
org.apache.shiro.aop Components used to support the framework's AOP/interception support classes. 
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. 
 

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.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.
 



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