|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.messaging.BaseEndPoint
org.apache.geronimo.messaging.GBeanBaseEndPoint
org.apache.geronimo.messaging.replication.ReplicationMemberImpl
ReplicationMember implementation.
Field Summary | |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Fields inherited from class org.apache.geronimo.messaging.BaseEndPoint |
id, node, out, sender |
Constructor Summary | |
ReplicationMemberImpl(Node aNode,
Object anID,
NodeInfo[] aTargetNodes)
Creates a replication group member. |
Method Summary | |
void |
fireUpdateEvent(UpdateEvent anEvent)
Fire an UpdateEvent on this listener. |
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
Object |
getReplicationGroupID()
Gets the replication group identifier. |
void |
mergeWithUpdate(UpdateEvent anEvent)
Merges an UpdateEvent with a registered ReplicationCapable. |
void |
registerLocalReplicantCapable(ReplicationCapable aReplicant)
This method is for internal use only. |
void |
registerReplicantCapable(ReplicationCapable aReplicant)
Registers a ReplicantCapable. |
ReplicationCapable |
retrieveReplicantCapable(Object anID)
Retrieves the ReplicationCapable having the specified id. |
void |
setMsgProducerOut(MsgOutInterceptor aMsgOut)
Sets a mean to this instance to push Msgs to the outside world. |
void |
unregisterReplicantCapable(ReplicationCapable aReplicant)
Unregisters a ReplicantCapable. |
Methods inherited from class org.apache.geronimo.messaging.GBeanBaseEndPoint |
doFail, doStart, doStop |
Methods inherited from class org.apache.geronimo.messaging.BaseEndPoint |
getID, getMsgConsumerOut, handleRequest, handleResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.geronimo.messaging.EndPoint |
getID |
Methods inherited from interface org.apache.geronimo.messaging.MsgConsumer |
getMsgConsumerOut |
Field Detail |
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail |
public ReplicationMemberImpl(Node aNode, Object anID, NodeInfo[] aTargetNodes)
aNode
- Node containing this instance.anID
- Replication group identifier.aTargetNodes
- Nodes hosting the other members of the
replication group containing this member.Method Detail |
public Object getReplicationGroupID()
ReplicationMember
getReplicationGroupID
in interface ReplicationMember
public void setMsgProducerOut(MsgOutInterceptor aMsgOut)
MsgProducer
setMsgProducerOut
in interface MsgProducer
setMsgProducerOut
in class BaseEndPoint
public void fireUpdateEvent(UpdateEvent anEvent) throws ReplicationException
UpdateListener
fireUpdateEvent
in interface UpdateListener
anEvent
- UpdateEvent to be fired.
ReplicationException
- Indicates that the event can not be
processed (the event can not be merged).public void mergeWithUpdate(UpdateEvent anEvent) throws ReplicationException
mergeWithUpdate
in interface ReplicationMember
anEvent
- Update event to be merged.
ReplicationException
- Indicates that the merge can not be
performed.public void registerReplicantCapable(ReplicationCapable aReplicant)
registerReplicantCapable
in interface ReplicationMember
aReplicant
- ReplicantCapable to be controlled by this group.public void unregisterReplicantCapable(ReplicationCapable aReplicant)
ReplicationMember
unregisterReplicantCapable
in interface ReplicationMember
aReplicant
- ReplicantCapable to be removed from the replication
group.public void registerLocalReplicantCapable(ReplicationCapable aReplicant)
registerLocalReplicantCapable
in interface ReplicationMember
aReplicant
- ReplicantCapable to be locally registered.public ReplicationCapable retrieveReplicantCapable(Object anID)
retrieveReplicantCapable
in interface ReplicationMember
anID
- Replicant identifier.
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |