org.cid.distribution.plugins.list
Class ListCombinatorHandler

java.lang.Object
  extended by org.cid.distribution.base.MessageHandlerBase
      extended by org.cid.distribution.plugins.list.ListCombinatorHandler
All Implemented Interfaces:
DistributionContextAware, MessageHandler

public class ListCombinatorHandler
extends MessageHandlerBase

Version:
$Revision:111 $

Constructor Summary
ListCombinatorHandler()
          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.
 java.lang.String getListAddress()
           
 java.lang.String getProperty()
           
 void init()
          Initializes the ListCombinatorHandler.
 MessageEnumeration process(DistributionMessage message)
          This handler processes a message by sending it to each one of the list members.
 void setListAddress(java.lang.String listAddress)
           
 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

ListCombinatorHandler

public ListCombinatorHandler()
Class constructor

Method Detail

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.