org.jsecurity.aop
Class AnnotationMethodInterceptor
java.lang.Object
org.jsecurity.aop.MethodInterceptorSupport
org.jsecurity.aop.AnnotationMethodInterceptor
- All Implemented Interfaces:
- MethodInterceptor
- Direct Known Subclasses:
- AuthorizingAnnotationMethodInterceptor
public abstract class AnnotationMethodInterceptor
- extends MethodInterceptorSupport
MethodInterceptor that inspects a specific annotation on the method invocation before continuing
its execution.
- Since:
- 0.9
- Author:
- Les Hazlewood
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annotationClass
protected Class<? extends Annotation> annotationClass
AnnotationMethodInterceptor
public AnnotationMethodInterceptor(Class<? extends Annotation> annotationClass)
setAnnotationClass
protected void setAnnotationClass(Class<? extends Annotation> annotationClass)
getAnnotationClass
public Class<? extends Annotation> getAnnotationClass()
supports
public boolean supports(MethodInvocation mi)
getAnnotation
protected Annotation getAnnotation(MethodInvocation mi)
Copyright © 2004-2008 JSecurity.