Class SpringAnnotationResolver
java.lang.Object
org.apache.shiro.spring.aop.SpringAnnotationResolver
- All Implemented Interfaces:
org.apache.shiro.aop.AnnotationResolver
public class SpringAnnotationResolver
extends Object
implements org.apache.shiro.aop.AnnotationResolver
AnnotationResolver implementation that uses Spring's more robust
AnnotationUtils to find method annotations instead of the JDKs simpler
(and rather lacking) Method.getAnnotation(class)
implementation.- Since:
- 1.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAnnotation(org.apache.shiro.aop.MethodInvocation mi, Class<? extends Annotation> clazz)
-
Constructor Details
-
SpringAnnotationResolver
public SpringAnnotationResolver()
-
-
Method Details
-
getAnnotation
public Annotation getAnnotation(org.apache.shiro.aop.MethodInvocation mi, Class<? extends Annotation> clazz) - Specified by:
getAnnotationin interfaceorg.apache.shiro.aop.AnnotationResolver
-