org.cid.distribution.plugins.list
Class ListCombinatorHandler
java.lang.Object
org.cid.distribution.base.MessageHandlerBase
org.cid.distribution.plugins.list.ListCombinatorHandler
- All Implemented Interfaces:
- DistributionContextAware, MessageHandler
public class ListCombinatorHandler
- extends MessageHandlerBase
- Version:
- $Revision:111 $
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListCombinatorHandler
public ListCombinatorHandler()
- Class constructor
init
public void init()
throws DistributionProcessingException,
DistributionConfigurationException
- Initializes the ListCombinatorHandler. This handler resolves
the reference to the MemberManager.
- Specified by:
init
in interface MessageHandler
- Overrides:
init
in class MessageHandlerBase
- Throws:
DistributionProcessingException
DistributionConfigurationException
- See Also:
MessageHandlerBase.init()
process
public MessageEnumeration process(DistributionMessage message)
throws DistributionProcessingException,
DistributionConfigurationException
- This handler processes a message by sending it to each one of the
list members.
- Returns:
- The result of the handle processing, usually indicating whether the processing of this message has succeeded or failed.
- Throws:
DistributionProcessingException
DistributionConfigurationException
getListAddress
public java.lang.String getListAddress()
- Returns:
- Returns the listAddress.
setListAddress
public void setListAddress(java.lang.String listAddress)
- Parameters:
listAddress
- The listAddress to set.
addRules
public static void addRules(org.apache.commons.digester.Digester d,
java.lang.String patternPrefix)
- Configures additional rules for the commons-digester library.
getProperty
public java.lang.String getProperty()
- Returns:
- Returns the property.
setProperty
public void setProperty(java.lang.String property)
- Parameters:
property
- The property to set.
Copyright © 2006 null. All Rights Reserved.