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
AnnotationResolverimplementation that uses Spring's more robustAnnotationUtilsto 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 AnnotationgetAnnotation(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:
getAnnotationin interfaceorg.apache.shiro.aop.AnnotationResolver
-
-