org.apache.tapestry.annotations
Interface MethodAnnotationEnhancementWorker
- All Known Implementing Classes:
- AssetAnnotationWorker, BeanAnnotationWorker, ComponentAnnotationWorker, InjectAssetAnnotationWorker, InjectComponentAnnotationWorker, InjectMetaAnnotationWorker, InjectObjectAnnotationWorker, InjectPageAnnotationWorker, InjectScriptAnnotationWorker, InjectStateAnnotationWorker, MessageAnnotationWorker, ParameterAnnotationWorker, PersistAnnotationWorker
public interface MethodAnnotationEnhancementWorker
Defines workers that perform annotation enhancements at the method level.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Method Summary |
void |
performEnhancement(org.apache.tapestry.enhance.EnhancementOperation op,
org.apache.tapestry.spec.IComponentSpecification spec,
java.lang.reflect.Method method)
Performs a particular enhancement based on a registered annotation. |
performEnhancement
void performEnhancement(org.apache.tapestry.enhance.EnhancementOperation op,
org.apache.tapestry.spec.IComponentSpecification spec,
java.lang.reflect.Method method)
- Performs a particular enhancement based on a registered annotation. Exception reporting is
the responsibility of the caller.
- Parameters:
op
- the enhancement operarationspec
- the specification of the component for which a class is being enhancedmethod
- the method to which the annotation is attached. The annotation
may be obtained from the method.