freemarker.template
Interface ListenerAdapter<O extends java.util.EventObject,L extends java.util.EventListener>


public interface ListenerAdapter<O extends java.util.EventObject,L extends java.util.EventListener>

An interface for adapters that GenericEventMulticaster can use to fire an event.

Version:
$Id: ListenerAdapter.java 1101 2013-04-01 04:17:32Z run2000 $

Method Summary
 void fireEvent(O event, L listener)
          Fires an event to the event listener.
 

Method Detail

fireEvent

void fireEvent(O event,
               L listener)
               throws java.lang.Exception
Fires an event to the event listener.

Parameters:
event - the event to be sent to the EventListener
listener - the listener to which the event will be sent
Throws:
java.lang.Exception