Examples of unregisterListener()


Examples of org.jboss.ha.framework.interfaces.DistributedReplicantManager.unregisterListener()

      if (this.partition != null)
      {
         try
         {
            DistributedReplicantManager drm = partition.getDistributedReplicantManager();
            drm.unregisterListener(this.replicantName, this);
            drm.remove(this.replicantName);        
         }
         catch (Exception e)
         {
            log.error("failed to clean existence in current ha partition", e);
View Full Code Here

Examples of org.jboss.ha.framework.interfaces.DistributedReplicantManager.unregisterListener()

     
      // Now register the real listener
      drm.registerListener(key, this);
     
      // ...and unregister our temporary one
      drm.unregisterListener(key, listener);
     
      ReplicantView view = this.viewReference.getAndSet(null);
     
      // Process the recorded replicant change
      // Typically this will be the replicant change from drm.add(...)
View Full Code Here

Examples of org.jboss.ha.framework.interfaces.DistributedReplicantManager.unregisterListener()

      if (this.partition != null)
      {
         try
         {
            DistributedReplicantManager drm = partition.getDistributedReplicantManager();
            drm.unregisterListener(this.replicantName, this);
            drm.remove(this.replicantName);        
         }
         catch (Exception e)
         {
            log.error("failed to clean existence in current ha partition", e);
View Full Code Here

Examples of org.jboss.ha.framework.interfaces.DistributedReplicantManager.unregisterListener()

     
      // remove replicant node
      drm.remove(key);
    
      // unregister
      drm.unregisterListener(key, this);
   }

   /**
    * {@inheritDoc}
    * @return the key used by the DRM and partition rpc handler mapping.
View Full Code Here

Examples of org.jboss.ha.framework.interfaces.DistributedReplicantManager.unregisterListener()

     
      // Now register the real listener
      drm.registerListener(key, this);
     
      // ...and unregister our temporary one
      drm.unregisterListener(key, listener);
     
      ReplicantView view = this.viewReference.getAndSet(null);
     
      // Process the recorded replicant change
      // Typically this will be the replicant change from drm.add(...)
View Full Code Here

Examples of org.jboss.ha.framework.interfaces.DistributedReplicantManager.unregisterListener()

     
      // remove replicant node
      drm.remove(key);
    
      // unregister
      drm.unregisterListener(key, this);
   }

   /**
    * {@inheritDoc}
    * @return the key used by the DRM and partition rpc handler mapping.
View Full Code Here

Examples of org.jboss.ha.framework.interfaces.DistributedReplicantManager.unregisterListener()

     
      // Now register the real listener
      drm.registerListener(key, this);
     
      // ...and unregister our temporary one
      drm.unregisterListener(key, listener);
     
      ReplicantView view = this.viewReference.getAndSet(null);
     
      // Process the recorded replicant change
      // Typically this will be the replicant change from drm.add(...)
View Full Code Here

Examples of org.jboss.ha.framework.interfaces.DistributedReplicantManager.unregisterListener()

      if (this.partition != null)
      {
         try
         {
            DistributedReplicantManager drm = partition.getDistributedReplicantManager();
            drm.unregisterListener(this.replicantName, this);
            drm.remove(this.replicantName);        
         }
         catch (Exception e)
         {
            log.error("failed to clean existence in current ha partition", e);
View Full Code Here

Examples of org.jboss.ha.framework.interfaces.DistributedReplicantManager.unregisterListener()

      // remove replicant node
      drm.remove(this.name);
    
      // unregister
      drm.unregisterListener(this.name, this);
   }

   /**
    * @return the object to be registered with the {@link org.jboss.ha.framework.interfaces.DistributedReplicantManager}.
    */
 
View Full Code Here

Examples of org.jboss.ha.framework.interfaces.DistributedReplicantManager.unregisterListener()

      if (this.partition != null)
      {
         try
         {
            DistributedReplicantManager drm = partition.getDistributedReplicantManager();
            drm.unregisterListener(this.replicantName, this);
            drm.remove(this.replicantName);        
         }
         catch (Exception e)
         {
            log.error("failed to clean existence in current ha partition", e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.