org.axonframework.eventhandling
Interface EventListener

All Known Subinterfaces:
EventListenerProxy, SagaManager
All Known Implementing Classes:
AbstractReplayAwareSagaManager, AbstractSagaManager, AnnotatedSagaManager, AnnotationEventListenerAdapter, AsyncAnnotatedSagaManager, EventListeningMessageChannelAdapter, EventListeningMessageChannelAdapter, EventValidator, SimpleSagaManager, ToDoEventListener

public interface EventListener

Interface to be implemented by classes that can handle events.

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

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

Method Detail

handle

void handle(EventMessage 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 © 2010-2016. All Rights Reserved.