public abstract class AbstractAnnotationMethodInterceptor extends Object implements AnnotationMethodInterceptor
| 限定符和类型 | 字段和说明 |
|---|---|
protected Class<? extends Annotation> |
annotationClass |
| 构造器和说明 |
|---|
AbstractAnnotationMethodInterceptor() |
AbstractAnnotationMethodInterceptor(Class<? extends Annotation> annotationClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
assertAuth(org.aopalliance.intercept.MethodInvocation methodInvocation,
Annotation annotation) |
void |
assertAuthorized(org.aopalliance.intercept.MethodInvocation methodInvocation) |
protected Annotation |
getAnnotation(org.aopalliance.intercept.MethodInvocation mi,
Class<? extends Annotation> annotationClass) |
boolean |
supports(org.aopalliance.intercept.MethodInvocation mi) |
protected Class<? extends Annotation> annotationClass
public AbstractAnnotationMethodInterceptor()
public AbstractAnnotationMethodInterceptor(Class<? extends Annotation> annotationClass)
public boolean supports(org.aopalliance.intercept.MethodInvocation mi)
supports 在接口中 AnnotationMethodInterceptorpublic void assertAuthorized(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws AuthorizingException
assertAuthorized 在接口中 AnnotationMethodInterceptorAuthorizingExceptionprotected abstract void assertAuth(org.aopalliance.intercept.MethodInvocation methodInvocation,
Annotation annotation)
throws AuthorizingException
protected Annotation getAnnotation(org.aopalliance.intercept.MethodInvocation mi, Class<? extends Annotation> annotationClass)
Copyright © 2018. All rights reserved.