public abstract class AbtractAspectInterceptorBuilder<T> extends Object implements AspectInterceptorBuilder<T>
Modifier and Type | Field and Description |
---|---|
protected AnnotationAccess |
annotationAccess |
Constructor and Description |
---|
AbtractAspectInterceptorBuilder(AnnotationAccess annotationAccess) |
Modifier and Type | Method and Description |
---|---|
AnnotationProvider |
getClassAnnotationProvider()
Returns a provider for annotations on the service class and interface.
|
<T extends Annotation> |
getMethodAnnotation(Method method,
Class<T> annotationType)
Gets an annotation from a method, via
AnnotationAccess.getMethodAnnotationProvider(String, Class...) . |
AnnotationProvider |
getMethodAnnotationProvider(String methodName,
Class... parameterTypes)
Returns a provider for annotations of a method of the class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
adviseAllMethods, adviseMethod, getInterface
protected final AnnotationAccess annotationAccess
public AbtractAspectInterceptorBuilder(AnnotationAccess annotationAccess)
public AnnotationProvider getClassAnnotationProvider()
AnnotationAccess
getClassAnnotationProvider
in interface AnnotationAccess
public AnnotationProvider getMethodAnnotationProvider(String methodName, Class... parameterTypes)
AnnotationAccess
getMethodAnnotationProvider
in interface AnnotationAccess
public <T extends Annotation> T getMethodAnnotation(Method method, Class<T> annotationType)
MethodAdviceReceiver
AnnotationAccess.getMethodAnnotationProvider(String, Class...)
.getMethodAnnotation
in interface MethodAdviceReceiver
T
- type of annotationmethod
- method to searchannotationType
- type of annotation${project.version} - Copyright © 2003-2015 The Apache Software Foundation.