|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cid.distribution.base.MessageHandlerBase org.cid.distribution.plugins.data.DataCombinatorHandler
public class DataCombinatorHandler
Constructor Summary | |
---|---|
DataCombinatorHandler()
Class constructor |
Method Summary | |
---|---|
static void |
addRules(org.apache.commons.digester.Digester d,
java.lang.String patternPrefix)
Configures additional rules for the commons-digester library. |
DataProvider |
getData()
|
java.lang.String |
getProperty()
|
boolean |
hasMoreMessages()
Tests if this enumeration contains more elements. |
void |
init()
Initializes the ListCombinatorHandler. |
DistributionMessage |
nextMessage()
Returns the next message in this MessageEnumeration. |
MessageEnumeration |
process(DistributionMessage message)
This handler processes a message by sending it to each one of the list members. |
void |
setData(java.lang.String data)
|
void |
setProperty(java.lang.String property)
|
Methods inherited from class org.cid.distribution.base.MessageHandlerBase |
---|
destroy, getId, setDistributionContext, setId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataCombinatorHandler()
Method Detail |
---|
public void init() throws DistributionProcessingException, DistributionConfigurationException
init
in interface MessageHandler
init
in class MessageHandlerBase
DistributionProcessingException
DistributionConfigurationException
MessageHandlerBase.init()
public MessageEnumeration process(DistributionMessage message) throws DistributionProcessingException, DistributionConfigurationException
process
in interface MessageHandler
DistributionProcessingException
DistributionConfigurationException
public static void addRules(org.apache.commons.digester.Digester d, java.lang.String patternPrefix)
public DataProvider getData()
public void setData(java.lang.String data)
data
- The data to set.public java.lang.String getProperty()
public void setProperty(java.lang.String property)
property
- The property to set.public boolean hasMoreMessages() throws DistributionProcessingException, DistributionConfigurationException
MessageEnumeration
hasMoreMessages
in interface MessageEnumeration
DistributionProcessingException
DistributionConfigurationException
public DistributionMessage nextMessage() throws DistributionProcessingException, DistributionConfigurationException
MessageEnumeration
nextMessage
in interface MessageEnumeration
DistributionProcessingException
DistributionConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |