org.fishbolt.common.listener
Interface IEventListener<S,T>

Type Parameters:
S - type of changed object.
T - type that describes that change
All Known Implementing Classes:
EventListener

public interface IEventListener<S,T>

As stated above, the system has to provide possibility to connect event listeners. Listeners are used in the case, when it is necessary to process some actions in response to the changes in the system. After the change happened, the system generates the events and notifies the connected listeners calling the eventsPerformed(Collection) method. .

See Also:
IEvent

Method Summary
 void eventsPerformed(java.util.Collection<IEvent<S,T>> events)
          After the change happened, the system generates the events and notifies the connected listeners calling the method.
 

Method Detail

eventsPerformed

void eventsPerformed(java.util.Collection<IEvent<S,T>> events)
After the change happened, the system generates the events and notifies the connected listeners calling the method.

Parameters:
events - which describes changes in the system.
See Also:
IEvent