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.| Constructor and Description |
|---|
SpringAnnotationResolver() |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
getAnnotation(org.apache.shiro.aop.MethodInvocation mi,
Class<? extends Annotation> clazz) |
public Annotation getAnnotation(org.apache.shiro.aop.MethodInvocation mi, Class<? extends Annotation> clazz)
getAnnotation in interface org.apache.shiro.aop.AnnotationResolverCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.