public interface ClusterMessageAware
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterMessageType()
The unique message cluster Type ID that this bean deals with and posts using.
|
void |
onClusterMessage(Map<String,Serializable> payload)
Called by a ClusterService implementation when a message for this bean has been sent to
this cluster node and is ready to be processed by the handler based on the bean message
type as supplied in getClusterMessageType().
|
void |
setClusterService(ClusterService service)
Called by a ClusterService implementation to set a ClusterService for this bean to use.
|
void setClusterService(ClusterService service)
service - ClusterService to use to post cluster message payloadsString getClusterMessageType()
void onClusterMessage(Map<String,Serializable> payload)
payload - Payload from the messageCopyright © 2005–2016 Alfresco Software. All rights reserved.