org.apache.shiro.spring.aop
Class SpringAnnotationResolver

java.lang.Object
  extended by org.apache.shiro.spring.aop.SpringAnnotationResolver
All Implemented Interfaces:
AnnotationResolver

public class SpringAnnotationResolver
extends Object
implements 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
SpringAnnotationResolver()
           
 
Method Summary
 Annotation getAnnotation(MethodInvocation mi, Class<? extends Annotation> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringAnnotationResolver

public SpringAnnotationResolver()
Method Detail

getAnnotation

public Annotation getAnnotation(MethodInvocation mi,
                                Class<? extends Annotation> clazz)
Specified by:
getAnnotation in interface AnnotationResolver


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.