org.axonframework.common
Interface Subscribable

All Known Implementing Classes:
AbstractSagaManager, AggregateAnnotationCommandHandler, AnnotatedSagaManager, AnnotationCommandHandlerAdapter, AnnotationEventListenerAdapter, AsyncAnnotatedSagaManager, SimpleSagaManager

Deprecated. 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
public interface Subscribable

Interface describing components that are able to subscribe themselves to a component that can be subscribed to, such as the CommandBus and EventBus.

Since:
0.5
Author:
Allard Buijze

Method Summary
 void subscribe()
          Deprecated. Subscribe this instance with its configured component.
 void unsubscribe()
          Deprecated. Unsubscribe this instance from its subscribed component.
 

Method Detail

unsubscribe

void unsubscribe()
Deprecated. 
Unsubscribe this instance from its subscribed component.


subscribe

void subscribe()
Deprecated. 
Subscribe this instance with its configured component.



Copyright © 2010-2016. All Rights Reserved.