org.axonframework.saga
Interface SagaManager
- All Superinterfaces:
- EventListener, EventListenerProxy
- All Known Implementing Classes:
- AbstractReplayAwareSagaManager, AbstractSagaManager, AnnotatedSagaManager, AsyncAnnotatedSagaManager, SimpleSagaManager
public interface SagaManager
- extends EventListenerProxy
Interface toward the Manager of one or more types of Saga. The SagaManager is an infrastructure object responsible
for redirecting published Events to the correct Saga instances. The SagaManager will also manage the life cycle of
the Saga, based on these Events.
Saga Managers must be thread safe. Implementations may choose to provide locking, such that access to the Saga
instances they manage is also thread safe.
- Since:
- 0.7
- Author:
- Allard Buijze
Method Summary |
void |
handle(EventMessage event)
Handles the event by passing it to all Saga instances that have an Association Value found in the given event. |
handle
void handle(EventMessage event)
- Handles the event by passing it to all Saga instances that have an Association Value found in the given event.
- Specified by:
handle
in interface EventListener
- Parameters:
event
- the event to handle
Copyright © 2010-2016. All Rights Reserved.