org.apache.tapestry.listener
Class ListenerMethodInvokerImpl

java.lang.Object
  extended byorg.apache.tapestry.listener.ListenerMethodInvokerImpl
All Implemented Interfaces:
ListenerMethodInvoker

public class ListenerMethodInvokerImpl
extends java.lang.Object
implements ListenerMethodInvoker

Logic for mapping a listener method name to an actual method invocation; this may require a little searching to find the correct version of the method, based on the number of parameters to the method (there's a lot of flexibility in terms of what methods may be considered a listener method).

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
ListenerMethodInvokerImpl(java.lang.String name, java.lang.reflect.Method[] methods)
           
 
Method Summary
 void invokeListenerMethod(java.lang.Object target, IRequestCycle cycle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerMethodInvokerImpl

public ListenerMethodInvokerImpl(java.lang.String name,
                                 java.lang.reflect.Method[] methods)
Method Detail

invokeListenerMethod

public void invokeListenerMethod(java.lang.Object target,
                                 IRequestCycle cycle)
Specified by:
invokeListenerMethod in interface ListenerMethodInvoker