|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecondaryAnnotationWorker
A chain-of-command interface for secondary annotation workers; workers that must execute after other workers.
Method Summary | |
---|---|
boolean |
canEnhance(Method method)
Sees if the particular worker can process the method (because it handles an annotation associated with the method). |
void |
peformEnhancement(EnhancementOperation op,
IComponentSpecification spec,
Method method,
org.apache.hivemind.Resource classResource)
Invoked an all workers in the command chain, if any worker returns true from canEnhance(Method) . |
Method Detail |
---|
boolean canEnhance(Method method)
method
- to check
void peformEnhancement(EnhancementOperation op, IComponentSpecification spec, 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |