org.apache.tapestry.listener
Class ListenerInvokerTerminator

java.lang.Object
  extended by org.apache.tapestry.listener.ListenerInvokerTerminator
All Implemented Interfaces:
ListenerInvoker

public class ListenerInvokerTerminator
extends Object
implements ListenerInvoker

Terminator implementation for the tapestry.listener.InvokeListener pipeline; this is what finally turns around and invokes IActionListener.actionTriggered(IComponent, IRequestCycle).

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
ListenerInvokerTerminator()
           
 
Method Summary
 void invokeListener(IActionListener listener, IComponent source, IRequestCycle cycle)
          Part of the pipeline for invoking the given listener object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerInvokerTerminator

public ListenerInvokerTerminator()
Method Detail

invokeListener

public void invokeListener(IActionListener listener,
                           IComponent source,
                           IRequestCycle cycle)
Description copied from interface: ListenerInvoker
Part of the pipeline for invoking the given listener object. This may be supplemented by various filters.

Specified by:
invokeListener in interface ListenerInvoker
Parameters:
listener - to be invoked, may be null if no listener is found (a convienience for all the places where listeners are optional)
source - the component generating the listener "event", to be passed to the listener. Not generally used, but may not be null.
cycle - the current request cycle, to be passed to the listener.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.