|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.clustering.management.DefaultGroupManagementAgent
public class DefaultGroupManagementAgent
The default implementation of GroupManagementAgent
Constructor Summary | |
---|---|
DefaultGroupManagementAgent()
|
Method Summary | |
---|---|
void |
applicationMemberAdded(Member member)
An application member joined the application group |
void |
applicationMemberRemoved(Member member)
An application member left the application group |
String |
getDescription()
Get the description about this group management agent |
List<Member> |
getMembers()
Get the list of current members |
void |
send(GroupManagementCommand command)
Send a GroupManagementCommand to the group |
void |
setDescription(String description)
Set the description about this group management agent |
void |
setMembershipManager(MembershipManager membershipManager)
|
void |
setSender(ChannelSender sender)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultGroupManagementAgent()
Method Detail |
---|
public void setSender(ChannelSender sender)
public void setMembershipManager(MembershipManager membershipManager)
public String getDescription()
GroupManagementAgent
getDescription
in interface GroupManagementAgent
public void setDescription(String description)
GroupManagementAgent
setDescription
in interface GroupManagementAgent
description
- The descriptionpublic void applicationMemberAdded(Member member)
GroupManagementAgent
applicationMemberAdded
in interface GroupManagementAgent
member
- Represents the member who joinedpublic void applicationMemberRemoved(Member member)
GroupManagementAgent
applicationMemberRemoved
in interface GroupManagementAgent
member
- Represents the member who leftpublic List<Member> getMembers()
GroupManagementAgent
getMembers
in interface GroupManagementAgent
public void send(GroupManagementCommand command) throws ClusteringFault
GroupManagementAgent
send
in interface GroupManagementAgent
command
- The command
ClusteringFault
- If an error occurs while sending the command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |