Examples of removeCluster()


Examples of com.sun.enterprise.config.serverbeans.Clusters.removeCluster()

            //this is why the configuration is first deleted. Unfortunately, if
            //this fails, we leave an unreferenced standalone configuration.
            if (ClusterHelper.isClusterStandAlone(configContext, clusterName)) {
                //Remove the cluster first
                String configName = cluster.getConfigRef();
                clusters.removeCluster(cluster, OVERWRITE);
                //Remove the standalone configuration                                            
                getConfigsConfigBean().deleteConfiguration(configName);
            } else {
                clusters.removeCluster(cluster, OVERWRITE);
            }       
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.Clusters.removeCluster()

                String configName = cluster.getConfigRef();
                clusters.removeCluster(cluster, OVERWRITE);
                //Remove the standalone configuration                                            
                getConfigsConfigBean().deleteConfiguration(configName);
            } else {
                clusters.removeCluster(cluster, OVERWRITE);
            }       
        } catch (Exception ex) {
            throw getExceptionHandler().handleInstanceException(
                ex, "eeadmin.deleteCluster.Exception", clusterName);
        }
View Full Code Here

Examples of org.apache.stratos.messaging.domain.topology.Service.removeCluster()

                            event.getClusterId()));
                }
            } else {
             
              // Apply changes to the topology
              service.removeCluster(event.getClusterId());
             
              if (log.isInfoEnabled()) {
                log.info(String.format("Cluster removed from service: [service] %s [cluster] %s",
                    event.getServiceName(), event.getClusterId()));
              }
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.