Class AbtractAspectInterceptorBuilder<T>
- java.lang.Object
- 
- org.apache.tapestry5.ioc.internal.services.AbtractAspectInterceptorBuilder<T>
 
- 
- All Implemented Interfaces:
- AnnotationAccess,- MethodAdviceReceiver,- AspectInterceptorBuilder<T>
 - Direct Known Subclasses:
- AspectInterceptorBuilderImpl
 
 public abstract class AbtractAspectInterceptorBuilder<T> extends java.lang.Object implements AspectInterceptorBuilder<T> 
- 
- 
Field SummaryFields Modifier and Type Field Description protected AnnotationAccessannotationAccess
 - 
Constructor SummaryConstructors Constructor Description AbtractAspectInterceptorBuilder(AnnotationAccess annotationAccess)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationProvidergetClassAnnotationProvider()Returns a provider for annotations on the service class and interface.<T extends java.lang.annotation.Annotation>
 TgetMethodAnnotation(java.lang.reflect.Method method, java.lang.Class<T> annotationType)Gets an annotation from a method, viaAnnotationAccess.getMethodAnnotationProvider(String, Class...).AnnotationProvidergetMethodAnnotationProvider(java.lang.String methodName, java.lang.Class... parameterTypes)Returns a provider for annotations of a method of the class.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tapestry5.ioc.services.AspectInterceptorBuilderbuild
 - 
Methods inherited from interface org.apache.tapestry5.ioc.MethodAdviceReceiveradviseAllMethods, adviseMethod, getInterface
 
- 
 
- 
- 
- 
Field Detail- 
annotationAccessprotected final AnnotationAccess annotationAccess 
 
- 
 - 
Constructor Detail- 
AbtractAspectInterceptorBuilderpublic AbtractAspectInterceptorBuilder(AnnotationAccess annotationAccess) 
 
- 
 - 
Method Detail- 
getClassAnnotationProviderpublic AnnotationProvider getClassAnnotationProvider() Description copied from interface:AnnotationAccessReturns a provider for annotations on the service class and interface. This will reflect annotations defined by the implementation class itself, plus annotations defined by the service interface (implementation class annotations take precedence).- Specified by:
- getClassAnnotationProviderin interface- AnnotationAccess
- Returns:
- an AnnotationProvider instance.
 
 - 
getMethodAnnotationProviderpublic AnnotationProvider getMethodAnnotationProvider(java.lang.String methodName, java.lang.Class... parameterTypes) Description copied from interface:AnnotationAccessReturns a provider for annotations of a method of the class. This includes annotations on the implementation method, plus annotations on the corresponding service interface method (if such a method exists), with precedence on the implementation class method annotations.- Specified by:
- getMethodAnnotationProviderin interface- AnnotationAccess
- Parameters:
- methodName- the name of the method.
- parameterTypes- the types of the parameters of the method.
- Returns:
- an AnnotationProvider instance. *
 
 - 
getMethodAnnotationpublic <T extends java.lang.annotation.Annotation> T getMethodAnnotation(java.lang.reflect.Method method, java.lang.Class<T> annotationType) Description copied from interface:MethodAdviceReceiverGets an annotation from a method, viaAnnotationAccess.getMethodAnnotationProvider(String, Class...).- Specified by:
- getMethodAnnotationin interface- MethodAdviceReceiver
- Type Parameters:
- T- type of annotation
- Parameters:
- method- method to search
- annotationType- type of annotation
- Returns:
- the annotation found on the underlying implementation class (if known) or service interface, or null if not found
 
 
- 
 
-