org.apache.tapestry.enhance
Class InjectListenerRegistrationWorker
java.lang.Object
org.apache.tapestry.enhance.InjectListenerRegistrationWorker
- All Implemented Interfaces:
- EnhancementWorker
public class InjectListenerRegistrationWorker
- extends Object
- implements EnhancementWorker
Checks to see if the component implements a specific interface, and adds code
to the component's finishLoad() method to register (with the page) for such
notifications.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectListenerRegistrationWorker
public InjectListenerRegistrationWorker()
performEnhancement
public void performEnhancement(EnhancementOperation op,
IComponentSpecification spec)
- Specified by:
performEnhancement
in interface EnhancementWorker
setListenerInterface
public void setListenerInterface(Class listenerInterface)
setRegisterMethodName
public void setRegisterMethodName(String registerMethodName)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.