org.apache.tapestry.enhance
Class InjectListenerRegistrationWorker

java.lang.Object
  extended by 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

Constructor Summary
InjectListenerRegistrationWorker()
           
 
Method Summary
 void performEnhancement(EnhancementOperation op, IComponentSpecification spec)
           
 void setListenerInterface(Class listenerInterface)
           
 void setRegisterMethodName(String registerMethodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectListenerRegistrationWorker

public InjectListenerRegistrationWorker()
Method Detail

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.