Deprecated Constructors |
org.axonframework.saga.AbstractSagaManager(EventBus, SagaRepository, SagaFactory, Class extends Saga>...)
use AbstractSagaManager.AbstractSagaManager(SagaRepository, SagaFactory, Class[]) and register using EventBus.subscribe(org.axonframework.eventhandling.EventListener) |
org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler(Class, Repository, CommandBus)
Use AggregateAnnotationCommandHandler.AggregateAnnotationCommandHandler(Class, org.axonframework.repository.Repository)
and subscribe the adapter to the command bus using
CommandBus.subscribe(String,
org.axonframework.commandhandling.CommandHandler) . Alternatively, use
AggregateAnnotationCommandHandler.subscribe(Class, org.axonframework.repository.Repository, org.axonframework.commandhandling.CommandBus) . |
org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler(Class, Repository, CommandBus, CommandTargetResolver)
Use AggregateAnnotationCommandHandler.AggregateAnnotationCommandHandler(Class, org.axonframework.repository.Repository,
org.axonframework.commandhandling.CommandTargetResolver) and subscribe the handler to the command
bus using CommandBus.subscribe(String,
org.axonframework.commandhandling.CommandHandler) . Alternatively, use
AggregateAnnotationCommandHandler.subscribe(Class, org.axonframework.repository.Repository, org.axonframework.commandhandling.CommandBus,
org.axonframework.commandhandling.CommandTargetResolver) . |
org.axonframework.saga.annotation.AnnotatedSagaManager(SagaRepository, EventBus, Class extends AbstractAnnotatedSaga>...)
use AnnotatedSagaManager.AnnotatedSagaManager(org.axonframework.saga.SagaRepository,
Class[]) instead and register this instance using EventBus.subscribe(org.axonframework.eventhandling.EventListener) |
org.axonframework.saga.annotation.AnnotatedSagaManager(SagaRepository, SagaFactory, EventBus, Class extends AbstractAnnotatedSaga>...)
use AnnotatedSagaManager.AnnotatedSagaManager(org.axonframework.saga.SagaRepository,
org.axonframework.saga.SagaFactory, Class[]) instead and register this instance using EventBus.subscribe(org.axonframework.eventhandling.EventListener) |
org.axonframework.commandhandling.annotation.AnnotationCommandHandlerAdapter(Object, CommandBus)
Use AnnotationCommandHandlerAdapter.AnnotationCommandHandlerAdapter(Object) and subscribe the handler to the command bus
using CommandBus.subscribe(String,
org.axonframework.commandhandling.CommandHandler) . |
org.axonframework.eventhandling.annotation.AnnotationEventListenerAdapter(Object, EventBus)
Use AnnotationEventListenerAdapter.AnnotationEventListenerAdapter(Object) and subscribe the listener to the event bus
using EventBus.subscribe(org.axonframework.eventhandling.EventListener) |
org.axonframework.saga.annotation.AsyncAnnotatedSagaManager(EventBus, Class extends AbstractAnnotatedSaga>...)
use AsyncAnnotatedSagaManager.AsyncAnnotatedSagaManager(Class[]) and register with the event bus using EventBus.subscribe(org.axonframework.eventhandling.EventListener) |
org.axonframework.saga.SimpleSagaManager(Class extends Saga>, SagaRepository, AssociationValueResolver, EventBus)
use SimpleSagaManager.SimpleSagaManager(Class, SagaRepository, AssociationValueResolver) and register using
EventBus.subscribe(org.axonframework.eventhandling.EventListener) |
org.axonframework.saga.SimpleSagaManager(Class extends Saga>, SagaRepository, AssociationValueResolver, SagaFactory, EventBus)
use SimpleSagaManager.SimpleSagaManager(Class, SagaRepository, AssociationValueResolver, SagaFactory) and
register using EventBus.subscribe(org.axonframework.eventhandling.EventListener) |