org.omnaest.utils.events
Interface EventProducer<EVENT,RESULT>

All Superinterfaces:
Serializable
All Known Subinterfaces:
EventManager<EVENT,RESULT>
All Known Implementing Classes:
EventManagerImpl

public interface EventProducer<EVENT,RESULT>
extends Serializable

Interface for classes which allows to register EventListeners at a EventListenerRegistration.

Author:
Omnaest

Method Summary
 EventListenerRegistration<EVENT,RESULT> getEventListenerRegistration()
          Offers the EventListenerRegistration to register EventListener to this instance.
 

Method Detail

getEventListenerRegistration

EventListenerRegistration<EVENT,RESULT> getEventListenerRegistration()
Offers the EventListenerRegistration to register EventListener to this instance. All events will be signaled to the EventListeners from the time on they get registered.

Returns:
See Also:
EventListenerRegistration, EventProducer


Copyright © 2013. All Rights Reserved.