Package org.jvnet.glassfish.comms.gms

Examples of org.jvnet.glassfish.comms.gms.EventListener


            }
           
            Iterator<EventListener> iter =
                    DataCentricUtilHolder.getEventListeners().iterator();
            while(iter.hasNext()){
                EventListener listener = iter.next();
                listener.onRecovery(clusterName, instanceName, isClusterStartup);
            }
           
            createTimerTaskForValidation();
        }
View Full Code Here


            }
           
            Iterator<EventListener> iter =
                    DataCentricUtilHolder.getEventListeners().iterator();
            while(iter.hasNext()){
                EventListener listener = iter.next();
                listener.onFailure(clusterName, instanceName, isClusterShutdown);
            }
           
                createTimerTaskForValidation();
            }
        }
View Full Code Here

           
           
            Iterator<EventListener> iter =
                    DataCentricUtilHolder.getEventListeners().iterator();
            while(iter.hasNext()){
                EventListener listener = iter.next();
                listener.onAdd(clusterName, instanceName, lbEnabled);
            }
        }
View Full Code Here

            idealHash.removeNode(instance, true);
           
            Iterator<EventListener> iter =
                    DataCentricUtilHolder.getEventListeners().iterator();
            while(iter.hasNext()){
                EventListener listener = iter.next();
                listener.onDelete(clusterName, instanceName);
            }
        }
View Full Code Here

            }
           
            Iterator<EventListener> iter =
                    DataCentricUtilHolder.getEventListeners().iterator();
            while(iter.hasNext()){
                EventListener listener = iter.next();
                listener.onDisable(clusterName, instanceName);
            }
        }
View Full Code Here

            }
           
            Iterator<EventListener> iter =
                    DataCentricUtilHolder.getEventListeners().iterator();
            while(iter.hasNext()){
                EventListener listener = iter.next();
                listener.onEnable(clusterName, instanceName);
            }
        }
View Full Code Here

    /**
     * Register admin event listener to listen for instance addition
     * deletion and update event
     */
    private void registerAdminEventListener() {
        EventListener action = new DCUIClusterChangeEventListener();
        ClusterChangeEventListener clusterChangeEventListener =
                new ClusterChangeEventListenerImpl(clusterName, action);
        AdminEventListenerRegistry.registerEventListener(
                ClusterChangeEvent.eventType, clusterChangeEventListener,
                ClusterChangeEventListener.class);
View Full Code Here

      ReplicationHealthChecker.isServerLbEnabled(instanceName));
  }
    }

    protected void doConfigureLoadBalancer() {
  EventListener l = SipCLBListenerClass.instance;
        DataCentricUtilHolder.addEventListener(l);
    }
View Full Code Here

TOP

Related Classes of org.jvnet.glassfish.comms.gms.EventListener

Copyright © 2018 www.massapicom. 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.