|
xmlBlaster 2.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface I_MapMsgToMasterId
Interface to implementation which finds the master cluster node of a given message.
| Method Summary | |
|---|---|
NodeMasterInfo |
getMasterId(NodeMasterInfo nodeMasterInfo,
MsgUnit msgUnit)
Find out who is the master of the provided message. |
java.lang.String[] |
getMimeExtended()
Get the content MIME version number for which this plugin applies. |
java.lang.String[] |
getMimeTypes()
Get the content MIME types for which this plugin applies, "*" is for all mime types |
java.lang.String |
getName()
Get a human readable name of the implementation |
void |
initialize(ServerScope glob,
ClusterManager clusterManager)
This is called after instantiation of the plugin. |
void |
reset()
Is called when new configuration arrived, notify the plugin to empty its cache or do whatever it needs to do. |
| Method Detail |
|---|
void initialize(ServerScope glob,
ClusterManager clusterManager)
glob - The Global handle of this xmlBlaster server instance.void reset()
java.lang.String getName()
java.lang.String[] getMimeTypes()
java.lang.String[] getMimeExtended()
NodeMasterInfo getMasterId(NodeMasterInfo nodeMasterInfo,
MsgUnit msgUnit)
throws XmlBlasterException
nodeMasterInfo - The mapping rule to find the mastermsgUnit - The message
nodeMasterInfo.getClusterNode() and the xmlBlasterConnection
to the master node with nodeMasterInfo.getClusterNode().getXmlBlasterAccess()
XmlBlasterException
|
xmlBlaster 2.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||