Deprecated API


Contents
Deprecated Interfaces
org.axonframework.eventstore.jpa.PersistenceExceptionResolver
          Implement PersistenceExceptionResolver instead. 
org.axonframework.common.Subscribable
          as of 2.1. This interface will be removed in future versions. Self subscribing components give problems when wrapping components (using compositions or proxies). Therefore, subscriptions should be managed by the creating component. 
 

Deprecated Methods
org.axonframework.commandhandling.annotation.AnnotationCommandHandlerAdapter.subscribe()
          Instead, subscribe this instance using CommandBus.subscribe(String, org.axonframework.commandhandling.CommandHandler), using AnnotationCommandHandlerAdapter.supportedCommands() to retrieve the commands the annotated handler supports. 
org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler.subscribe()
          subscribing this handler should be done using CommandBus.subscribe(String, org.axonframework.commandhandling.CommandHandler). Retrieve the supported commands with AggregateAnnotationCommandHandler.supportedCommands(). 
org.axonframework.eventhandling.annotation.AnnotationEventListenerAdapter.subscribe()
          Use EventBus.subscribe(org.axonframework.eventhandling.EventListener) and pass this adapter instance to subscribe it. 
org.axonframework.saga.AbstractSagaManager.subscribe()
          Use EventBus.subscribe(org.axonframework.eventhandling.EventListener) to subscribe this instance 
org.axonframework.commandhandling.annotation.AnnotationCommandHandlerAdapter.unsubscribe()
          Instead, subscribe this instance using CommandBus.subscribe(String, org.axonframework.commandhandling.CommandHandler), using AnnotationCommandHandlerAdapter.supportedCommands() to retrieve the commands the annotated handler supports. 
org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler.unsubscribe()
          unsubscribing this handler should be done using CommandBus.unsubscribe(String, org.axonframework.commandhandling.CommandHandler). Retrieve the supported commands with AggregateAnnotationCommandHandler.supportedCommands(). 
org.axonframework.eventhandling.annotation.AnnotationEventListenerAdapter.unsubscribe()
          Use EventBus.unsubscribe(org.axonframework.eventhandling.EventListener) and pass this adapter instance to unsubscribe it. 
org.axonframework.saga.AbstractSagaManager.unsubscribe()
          Use EventBus.unsubscribe(org.axonframework.eventhandling.EventListener) to unsubscribe this instance 
 

Deprecated Constructors
org.axonframework.saga.AbstractSagaManager(EventBus, SagaRepository, SagaFactory, Class...)
          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...)
          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...)
          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...)
          use AsyncAnnotatedSagaManager.AsyncAnnotatedSagaManager(Class[]) and register with the event bus using EventBus.subscribe(org.axonframework.eventhandling.EventListener) 
org.axonframework.saga.SimpleSagaManager(Class, SagaRepository, AssociationValueResolver, EventBus)
          use SimpleSagaManager.SimpleSagaManager(Class, SagaRepository, AssociationValueResolver) and register using EventBus.subscribe(org.axonframework.eventhandling.EventListener) 
org.axonframework.saga.SimpleSagaManager(Class, SagaRepository, AssociationValueResolver, SagaFactory, EventBus)
          use SimpleSagaManager.SimpleSagaManager(Class, SagaRepository, AssociationValueResolver, SagaFactory) and register using EventBus.subscribe(org.axonframework.eventhandling.EventListener) 
 



Copyright © 2010-2016. All Rights Reserved.