|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.commons.broker.BrokerServiceBase<T>
com.genesyslab.platform.applicationblocks.commons.broker.AsyncBrokerServiceBase<T>
setMessageHandler(handler)
to handle incoming messages asynchronously.
@Deprecated public abstract class AsyncBrokerServiceBase<T>
AsyncBrokerServiceBase
class extends base implementation
of the Publish/Subscribe pattern with asynchronous publishing.
Constructor Summary | |
---|---|
protected |
AsyncBrokerServiceBase()
Deprecated. |
protected |
AsyncBrokerServiceBase(AsyncInvoker invoker)
Deprecated. |
Method Summary | |
---|---|
void |
publish(T obj)
Deprecated. Enqueues event for publishing by the invoker. |
void |
setInvoker(AsyncInvoker invoker)
Deprecated. |
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.broker.BrokerServiceBase |
---|
notify, onNotificationException, onPublish, register, register, switchSubscribersList, unregister, unregister, unregisterAll |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AsyncBrokerServiceBase()
protected AsyncBrokerServiceBase(AsyncInvoker invoker)
Method Detail |
---|
public void setInvoker(AsyncInvoker invoker)
setInvoker
in interface AsyncInvokerSupport
public void publish(T obj)
publish
in interface PublishingService<T>
publish
in class BrokerServiceBase<T>
obj
- Object that is used for event processing
java.lang.IllegalStateException
- if no AsyncInvoker initializedsetInvoker(AsyncInvoker)
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |