public class AopAllianceAnnotationsAuthorizingMethodInterceptor
extends org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor
implements org.aopalliance.intercept.MethodInterceptor
| Constructor and Description |
|---|
AopAllianceAnnotationsAuthorizingMethodInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
continueInvocation(Object aopAllianceMethodInvocation)
Simply casts the method argument to an
org.aopalliance.intercept.MethodInvocation and then
calls methodInvocation. |
protected org.apache.shiro.aop.MethodInvocation |
createMethodInvocation(Object implSpecificMethodInvocation)
Creates a
MethodInvocation that wraps an
org.aopalliance.intercept.MethodInvocation instance,
enabling Shiro Annotations in AOP Alliance environments
(Spring, etc). |
Object |
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
Creates a Shiro
MethodInvocation instance and then immediately calls
super.invoke. |
public AopAllianceAnnotationsAuthorizingMethodInterceptor()
protected org.apache.shiro.aop.MethodInvocation createMethodInvocation(Object implSpecificMethodInvocation)
MethodInvocation that wraps an
org.aopalliance.intercept.MethodInvocation instance,
enabling Shiro Annotations in AOP Alliance environments
(Spring, etc).implSpecificMethodInvocation - AOP Alliance MethodInvocationMethodInvocation instance that wraps the AOP Alliance instance.protected Object continueInvocation(Object aopAllianceMethodInvocation) throws Throwable
org.aopalliance.intercept.MethodInvocation and then
calls methodInvocation.proceed()aopAllianceMethodInvocation - the org.aopalliance.intercept.MethodInvocationorg.aopalliance.intercept.MethodInvocation.proceed() method call result.Throwable - if the underlying AOP Alliance proceed() call throws a Throwable.public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) throws Throwable
MethodInvocation instance and then immediately calls
super.invoke.methodInvocation - the AOP Alliance-specific methodInvocation instance.Throwable - if the underlying AOP Alliance method invocation throws a Throwable.Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.