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, waitbuildadviseAllMethods, adviseMethod, getInterfaceprotected final AnnotationAccess annotationAccess
public AbtractAspectInterceptorBuilder(AnnotationAccess annotationAccess)
public AnnotationProvider getClassAnnotationProvider()
AnnotationAccessgetClassAnnotationProvider in interface AnnotationAccesspublic AnnotationProvider getMethodAnnotationProvider(String methodName, Class... parameterTypes)
AnnotationAccessgetMethodAnnotationProvider in interface AnnotationAccessmethodName - the name of the method.parameterTypes - the types of the parameters of the method.public <T extends Annotation> T getMethodAnnotation(Method method, Class<T> annotationType)
MethodAdviceReceiverAnnotationAccess.getMethodAnnotationProvider(String, Class...).getMethodAnnotation in interface MethodAdviceReceiverT - type of annotationmethod - method to searchannotationType - type of annotation5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.