|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tapestry.annotations.EventListenerAnnotationWorker
public class EventListenerAnnotationWorker
Performs EventListener annotation enhancements on components.
| Constructor Summary | |
|---|---|
EventListenerAnnotationWorker()
|
|
| 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(org.apache.tapestry.enhance.EnhancementOperation op,
org.apache.tapestry.spec.IComponentSpecification spec,
Method method,
Resource classResource)
Invoked an all workers in the command chain, if any worker returns true from SecondaryAnnotationWorker.canEnhance(Method). |
void |
setComponentEventInvoker(org.apache.tapestry.services.impl.ComponentEventInvoker invoker)
Injected. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventListenerAnnotationWorker()
| Method Detail |
|---|
public boolean canEnhance(Method method)
canEnhance in interface SecondaryAnnotationWorkermethod - to check
public void peformEnhancement(org.apache.tapestry.enhance.EnhancementOperation op,
org.apache.tapestry.spec.IComponentSpecification spec,
Method method,
Resource classResource)
SecondaryAnnotationWorker.canEnhance(Method).
peformEnhancement in interface SecondaryAnnotationWorkerop - enhancement operationspec - specification for the component being enhancedmethod - the methodclassResource - a resource representing the class; combined with the method a
Location can be createdpublic void setComponentEventInvoker(org.apache.tapestry.services.impl.ComponentEventInvoker invoker)
invoker -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||