|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.boylesoftware.cb2.bcmproviders.local.LocalProvider
Simple stub-like BCM provider, which does not do any actual broadcasting. Instead, it just delivers messages locally, so the "cluster" consists of only one instance - this one.
Field Summary |
Fields inherited from interface com.boylesoftware.cb2.BroadcastMessagingProvider |
LOG_SUBSYS |
Constructor Summary | |
LocalProvider()
|
Method Summary | |
void |
broadcastMessage(java.lang.String channelName,
java.io.Serializable messageParam)
Deliver a message to all local terminals registered for the channel. |
void |
destroy()
Destroy the instance. |
void |
init(ApplicationContext appCtx)
Initialize the provider. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalProvider()
Method Detail |
public void init(ApplicationContext appCtx)
init
in interface BroadcastMessagingProvider
appCtx
- our application context.public void destroy()
destroy
in interface BroadcastMessagingProvider
public void broadcastMessage(java.lang.String channelName, java.io.Serializable messageParam)
processBCMMessage
on the
application context.
broadcastMessage
in interface BroadcastMessagingProvider
channelName
- BCM channel name.messageParam
- optional message parameter, may be
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |