public interface SecondaryAnnotationWorker
Modifier and Type | Method and Description |
---|---|
boolean |
canEnhance(java.lang.reflect.Method method)
Sees if the particular worker can process the method (because it handles an annotation
associated with the method).
|
void |
peformEnhancement(org.apache.tapestry.enhance.EnhancementOperation op,
org.apache.tapestry.spec.IComponentSpecification spec,
java.lang.reflect.Method method,
org.apache.hivemind.Resource classResource)
Invoked an all workers in the command chain, if any worker returns true
from
canEnhance(Method) . |
boolean canEnhance(java.lang.reflect.Method method)
method
- to checkvoid peformEnhancement(org.apache.tapestry.enhance.EnhancementOperation op, org.apache.tapestry.spec.IComponentSpecification spec, java.lang.reflect.Method method, org.apache.hivemind.Resource classResource)
canEnhance(Method)
.op
- enhancement operationspec
- specification for the component being enhancedmethod
- the methodclassResource
- a resource representing the class; combined with the method a
Location
can be created