Package org.apache.shiro.spring.aop
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 robustAnnotationUtils
to find method annotations instead of the JDKs simpler (and rather lacking)Method
.getAnnotation(class)
implementation.- Since:
- 1.1
-
-
Constructor Summary
Constructors Constructor Description SpringAnnotationResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotation
getAnnotation(org.apache.shiro.aop.MethodInvocation mi, Class<? extends Annotation> clazz)
-
-
-
Method Detail
-
getAnnotation
public Annotation getAnnotation(org.apache.shiro.aop.MethodInvocation mi, Class<? extends Annotation> clazz)
- Specified by:
getAnnotation
in interfaceorg.apache.shiro.aop.AnnotationResolver
-
-