T
- public abstract class AbstractPubSubSupport<T> extends Object implements PubSubSupport<T>
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_HANDLER_MSG |
Constructor and Description |
---|
AbstractPubSubSupport(BusConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
Collection<IPublicationErrorHandler> |
getRegisteredErrorHandlers() |
BusRuntime |
getRuntime() |
void |
subscribe(Object listener)
Subscribe all handlers of the given listener.
|
String |
toString() |
boolean |
unsubscribe(Object listener)
Immediately remove all registered message handlers (if any) of the given listener.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
publish
public static final String ERROR_HANDLER_MSG
public AbstractPubSubSupport(BusConfiguration configuration)
public Collection<IPublicationErrorHandler> getRegisteredErrorHandlers()
public boolean unsubscribe(Object listener)
PubSubSupport
unsubscribe
in interface PubSubSupport<T>
public void subscribe(Object listener)
PubSubSupport
subscribe
in interface PubSubSupport<T>
public BusRuntime getRuntime()
getRuntime
in interface RuntimeProvider
Copyright © 2018. All rights reserved.