public abstract class AbstractInterceptorProvider extends Object
| Constructor and Description |
|---|
AbstractInterceptorProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
annotationExists(Class<? extends Annotation> annotationClass,
Method interfaceMethod,
Object implementationInstance)
Returns true if the given method has the given annotation in the interface class or in the implementation class
|
protected boolean |
annotationExistsInImplementation(Class<? extends Annotation> annotationClass,
Method interfaceMethod,
Object implementationInstance)
Returns true if the given interface method has the given annotation in the implementation class
|
protected boolean |
annotationExistsInInterface(Class<? extends Annotation> annotationClass,
Method interfaceMethod)
Returns true if the given interface method has the given annotation
|
protected <T extends Annotation> |
getAnnotation(Class<T> annotationClass,
Method interfaceMethod,
Object implementationInstance) |
protected <T extends Annotation> |
getAnnotationFromImplementation(Class<T> annotationClass,
Method interfaceMethod,
Object implementationInstance) |
protected <T extends Annotation> |
getAnnotationFromInterface(Class<T> annotationClass,
Method interfaceMethod) |
protected <T extends Annotation> T getAnnotationFromInterface(Class<T> annotationClass, Method interfaceMethod)
protected <T extends Annotation> T getAnnotationFromImplementation(Class<T> annotationClass, Method interfaceMethod, Object implementationInstance)
protected <T extends Annotation> T getAnnotation(Class<T> annotationClass, Method interfaceMethod, Object implementationInstance)
protected boolean annotationExistsInInterface(Class<? extends Annotation> annotationClass, Method interfaceMethod)
annotationClass - the annotation to be searchedinterfaceMethod - the method defined in the interfaceprotected boolean annotationExistsInImplementation(Class<? extends Annotation> annotationClass, Method interfaceMethod, Object implementationInstance)
annotationClass - the annotation to be searchedinterfaceMethod - the method defined in the interfaceimplementationInstance - the implementation instance where to search the method annotationprotected boolean annotationExists(Class<? extends Annotation> annotationClass, Method interfaceMethod, Object implementationInstance)
annotationClass - the annotation to be searchedinterfaceMethod - the method defined in the interfaceimplementationInstance - the implementation instanceCopyright © 2016. All rights reserved.