org.apache.tapestry.annotations
Interface MethodAnnotationEnhancementWorker

All Known Implementing Classes:
AssetAnnotationWorker, BeanAnnotationWorker, ComponentAnnotationWorker, InjectAssetAnnotationWorker, InjectComponentAnnotationWorker, InjectMetaAnnotationWorker, InjectObjectAnnotationWorker, InjectPageAnnotationWorker, InjectScriptAnnotationWorker, InjectStateAnnotationWorker, InjectStateFlagAnnotationWorker, 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, org.apache.hivemind.Location location)
          Performs a particular enhancement based on a registered annotation.
 

Method Detail

performEnhancement

void performEnhancement(org.apache.tapestry.enhance.EnhancementOperation op,
                        org.apache.tapestry.spec.IComponentSpecification spec,
                        java.lang.reflect.Method method,
                        org.apache.hivemind.Location location)
Performs a particular enhancement based on a registered annotation. Exception reporting is the responsibility of the caller.

Parameters:
op - the enhancement operaration
spec - the specification of the component for which a class is being enhanced
method - the method to which the annotation is attached. The annotation may be obtained from the method.
location - TODO