org.springframework.integration.message
Interface Subscribable

All Known Subinterfaces:
PollingDispatcher
All Known Implementing Classes:
DefaultPollingDispatcher, DirectChannel, SimpleDispatcher

public interface Subscribable

Interface for any component that accepts subscribers.

Author:
Mark Fisher

Method Summary
 boolean subscribe(Target target)
          Register a Target as a subscriber to this source.
 boolean unsubscribe(Target target)
          Remove a Target from the subscribers of this source.
 

Method Detail

subscribe

boolean subscribe(Target target)
Register a Target as a subscriber to this source.


unsubscribe

boolean unsubscribe(Target target)
Remove a Target from the subscribers of this source.