org.apache.tapestry.listener
Class ListenerMapSourceImpl

java.lang.Object
  extended byorg.apache.tapestry.listener.ListenerMapSourceImpl
All Implemented Interfaces:
java.util.EventListener, ListenerMapSource, ResetEventListener

public class ListenerMapSourceImpl
extends java.lang.Object
implements ListenerMapSource, ResetEventListener

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
ListenerMapSourceImpl()
           
 
Method Summary
protected  ListenerMethodInvoker createListenerMethodInvoker(java.lang.String name, java.lang.reflect.Method[] methods)
          This implementation returns a new ListenerMethodInvoker.
 ListenerMap getListenerMapForObject(java.lang.Object object)
          Constructs a listener map for the provided object, which must not be null.
 void resetEventDidOccur()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerMapSourceImpl

public ListenerMapSourceImpl()
Method Detail

getListenerMapForObject

public ListenerMap getListenerMapForObject(java.lang.Object object)
Description copied from interface: ListenerMapSource
Constructs a listener map for the provided object, which must not be null.

Specified by:
getListenerMapForObject in interface ListenerMapSource
Parameters:
object - the object to provide a map for
Returns:
a ListenerMap configured for the object

resetEventDidOccur

public void resetEventDidOccur()
Specified by:
resetEventDidOccur in interface ResetEventListener

createListenerMethodInvoker

protected ListenerMethodInvoker createListenerMethodInvoker(java.lang.String name,
                                                            java.lang.reflect.Method[] methods)
This implementation returns a new ListenerMethodInvoker. Subclasses can override to provide their own implementation.