Uses of Interface
org.apache.shiro.aop.MethodInvocation
-
Packages that use MethodInvocation Package Description 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 Modifier and Type Method Description protected AnnotationAnnotationMethodInterceptor. getAnnotation(MethodInvocation mi)Returns the Annotation that this interceptor will process for the specified method invocation.AnnotationAnnotationResolver. getAnnotation(MethodInvocation mi, Class<? extends Annotation> clazz)Returns anAnnotationinstance of the specified type based on the givenMethodInvocationargument, ornullif no annotation of that type could be found.AnnotationDefaultAnnotationResolver. getAnnotation(MethodInvocation mi, Class<? extends Annotation> clazz)ObjectMethodInterceptor. invoke(MethodInvocation methodInvocation)Invokes the specifiedMethodInvocation, allowing implementations to perform pre/post/finally surrounding the actual invocation.booleanAnnotationMethodInterceptor. supports(MethodInvocation mi)Returnstrueif this interceptor supports, that is, should inspect, the specifiedMethodInvocation,falseotherwise. -
Uses of MethodInvocation in org.apache.shiro.authz.aop
Methods in org.apache.shiro.authz.aop with parameters of type MethodInvocation Modifier and Type Method Description protected voidAnnotationsAuthorizingMethodInterceptor. assertAuthorized(MethodInvocation methodInvocation)Iterates over the internalmethodInterceptorscollection, and for each one, ensures that if the interceptorsupportsthe invocation, that the interceptorassertsthat the invocation is authorized to proceed.voidAuthorizingAnnotationMethodInterceptor. assertAuthorized(MethodInvocation mi)Ensures the calling Subject is authorized to execute the specifiedMethodInvocation.protected abstract voidAuthorizingMethodInterceptor. assertAuthorized(MethodInvocation methodInvocation)Asserts that the specified MethodInvocation is allowed to continue by performing any necessary authorization (access control) checks first.ObjectAuthorizingAnnotationMethodInterceptor. invoke(MethodInvocation methodInvocation)Ensures themethodInvocationis allowed to execute first before proceeding by calling theassertAuthorizedmethod first.ObjectAuthorizingMethodInterceptor. invoke(MethodInvocation methodInvocation)Invokes the specified method (methodInvocation.if authorization is allowed by first callingproceed()assertAuthorized.
-