org.jboss.ha.framework.server
Class HARMIServerImpl.RefreshProxiesHATarget

java.lang.Object
  extended byorg.jboss.ha.framework.server.HATarget (src) 
      extended byorg.jboss.ha.framework.server.HARMIServerImpl.RefreshProxiesHATarget
All Implemented Interfaces:
DistributedReplicantManager.ReplicantListener (src)
Enclosing class:
HARMIServerImpl (src)

public class HARMIServerImpl.RefreshProxiesHATarget
extends HATarget (src)


Field Summary
protected  java.util.ArrayList generatedProxies
           
 
Fields inherited from class org.jboss.ha.framework.server.HATarget (src)
allowInvocationsStatus, clusterViewId, DISABLE_INVOCATIONS, ENABLE_INVOCATIONS, latch, log, MAKE_INVOCATIONS_WAIT, partition, replicantName, replicants, target
 
Constructor Summary
HARMIServerImpl.RefreshProxiesHATarget(HAPartition (src)  partition, java.lang.String replicantName, java.io.Serializable target, int allowInvocations)
           
 
Method Summary
 void addProxy(HARMIClient (src)  client)
           
 void init()
           
 void replicantsChanged(java.lang.String key, java.util.List newReplicants, int newReplicantsViewId)
          Callback called when the content/list of replicant for a given replicant key has changed
 
Methods inherited from class org.jboss.ha.framework.server.HATarget (src)
cleanExistenceInCurrentHAPartition, destroy, disable, getAssociatedPartition, getCurrentViewId, getReplicants, invocationsAllowed, releaseCurrentLatch, setInvocationsAuthorization, toString, updateHAPartition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

generatedProxies

protected java.util.ArrayList generatedProxies
Constructor Detail

HARMIServerImpl.RefreshProxiesHATarget

public HARMIServerImpl.RefreshProxiesHATarget(HAPartition (src)  partition,
                                              java.lang.String replicantName,
                                              java.io.Serializable target,
                                              int allowInvocations)
                                       throws java.lang.Exception
Method Detail

init

public void init()
          throws java.lang.Exception
Overrides:
init in class HATarget (src)
Throws:
java.lang.Exception

addProxy

public void addProxy(HARMIClient (src)  client)

replicantsChanged

public void replicantsChanged(java.lang.String key,
                              java.util.List newReplicants,
                              int newReplicantsViewId)
Description copied from interface: DistributedReplicantManager.ReplicantListener (src)
Callback called when the content/list of replicant for a given replicant key has changed

Specified by:
replicantsChanged in interface DistributedReplicantManager.ReplicantListener (src)
Overrides:
replicantsChanged in class HATarget (src)