Class ApplicationMode
- java.lang.Object
-
- org.apache.axis2.clustering.tribes.ApplicationMode
-
- All Implemented Interfaces:
OperationMode
public class ApplicationMode extends Object implements OperationMode
Represents a member running in application mode
-
-
Constructor Summary
Constructors Constructor Description ApplicationMode(byte[] domain, MembershipManager membershipManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInterceptors(org.apache.catalina.tribes.Channel channel)
Add channel interecptorsList<MembershipManager>
getMembershipManagers()
Get all the membership managers associated with a particular modevoid
init(org.apache.catalina.tribes.Channel channel)
Initialize this modevoid
notifyMemberJoin(org.apache.catalina.tribes.Member member)
Notify to the relevant parties that a membermember
joined
-
-
-
Constructor Detail
-
ApplicationMode
public ApplicationMode(byte[] domain, MembershipManager membershipManager)
-
-
Method Detail
-
addInterceptors
public void addInterceptors(org.apache.catalina.tribes.Channel channel)
Description copied from interface:OperationMode
Add channel interecptors- Specified by:
addInterceptors
in interfaceOperationMode
- Parameters:
channel
- The Channel to which interceptors need to be added
-
init
public void init(org.apache.catalina.tribes.Channel channel)
Description copied from interface:OperationMode
Initialize this mode- Specified by:
init
in interfaceOperationMode
- Parameters:
channel
- The channel related to this member
-
getMembershipManagers
public List<MembershipManager> getMembershipManagers()
Description copied from interface:OperationMode
Get all the membership managers associated with a particular mode- Specified by:
getMembershipManagers
in interfaceOperationMode
- Returns:
- membership managers associated with a particular mode
-
notifyMemberJoin
public void notifyMemberJoin(org.apache.catalina.tribes.Member member)
Description copied from interface:OperationMode
Notify to the relevant parties that a membermember
joined- Specified by:
notifyMemberJoin
in interfaceOperationMode
- Parameters:
member
- The member to whom this member lists have to be sent
-
-