org.axonframework.eventhandling
Interface EventListener

All Known Subinterfaces:
EventListenerProxy, SagaManager
All Known Implementing Classes:
AbstractSagaManager, AnnotatedSagaManager, AnnotationEventListenerAdapter, AsynchronousEventHandlerWrapper, SimpleSagaManager

public interface EventListener

Interface to be implemented by classes that can handle events.

Since:
0.1
Author:
Allard Buijze
See Also:
EventBus, DomainEvent, EventHandler

Method Summary
 void handle(Event event)
          Process the given event.
 

Method Detail

handle

void handle(Event event)
Process the given event. The implementation may decide to process or skip the given event. It is highly unrecommended to throw any exception during the event handling process.

Parameters:
event - the event to handle


Copyright © 2011. All Rights Reserved.