org.cid.distribution.plugins.list
Class StaticMemberManagerComponent

java.lang.Object
  extended by org.cid.distribution.base.DistributionComponentBase
      extended by org.cid.distribution.plugins.list.StaticMemberManagerComponent
All Implemented Interfaces:
DistributionContextAware, DistributionComponent, MemberManager

public class StaticMemberManagerComponent
extends DistributionComponentBase
implements MemberManager

The StaticMemberManagerComponent is a read-only provider of DistributionMember objects. Members are defined in the list's configuration file, and cannot be modified.

Version:
$Revision:111 $

Constructor Summary
StaticMemberManagerComponent()
          Class constructor
 
Method Summary
 void addMember(DistributionMember member)
          Adds a member to this member list.
static void addRules(org.apache.commons.digester.Digester d, java.lang.String patternPrefix)
          Configures additional rules for the commons-digester library.
 java.util.Enumeration<DistributionMember> getMembers()
          Returns the list members.
 
Methods inherited from class org.cid.distribution.base.DistributionComponentBase
destroy, getId, init, setDistributionContext, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cid.distribution.plugins.list.MemberManager
getId
 
Methods inherited from interface org.cid.distribution.DistributionComponent
destroy, init
 

Constructor Detail

StaticMemberManagerComponent

public StaticMemberManagerComponent()
Class constructor

Method Detail

getMembers

public java.util.Enumeration<DistributionMember> getMembers()
Returns the list members.

Specified by:
getMembers in interface MemberManager
Returns:
The lists members.

addMember

public void addMember(DistributionMember member)
Adds a member to this member list.

Parameters:
member - The member to add.

addRules

public static void addRules(org.apache.commons.digester.Digester d,
                            java.lang.String patternPrefix)
Configures additional rules for the commons-digester library.



Copyright © 2006 null. All Rights Reserved.