/glassfish-3.1.2/admin/rest/src/test/java/org/glassfish/admin/rest/ |
H A D | ClusterTest.java | 59 final String clusterName = "cluster_" + generateRandomString(); 60 createCluster(clusterName); 62 Map<String, String> entity = getEntityValues(get(URL_CLUSTER + "/" + clusterName)); 63 assertEquals(clusterName + "-config", entity.get("configRef")); 65 deleteCluster(clusterName); 70 final String clusterName = "cluster_" + generateRandomString(); 73 put("id", clusterName); 80 response = get(URL_CLUSTER + "/" + clusterName + "/list-lifecycle-modules"); 83 response = post(URL_CLUSTER + "/" + clusterName + "/delete-cluster"); 86 response = get(URL_CLUSTER + "/" + clusterName); 98 createCluster(final String clusterName) argument 109 startCluster(String clusterName) argument 114 stopCluster(String clusterName) argument 119 createClusterInstance(final String clusterName, final String instanceName) argument 130 deleteCluster(String clusterName) argument [all...] |
H A D | SystemPropertiesTest.java | 57 public static final String URL_CLUSTER_SYSTEM_PROPERTIES = "/domain/clusters/cluster/%clusterName%/system-properties"; 156 final String clusterName = "c" + generateRandomNumber(); 157 final String instanceName = clusterName + "in" + generateRandomNumber(); 160 ct.createCluster(clusterName); 161 ct.createClusterInstance(clusterName, instanceName); 163 createAndTestConfigProperty(propertyName, PROP_VALUE, clusterName + "-config"); 164 createAndTestClusterOverride(propertyName, PROP_VALUE, PROP_VALUE + "-cluster", clusterName); 167 ct.deleteCluster(clusterName); 186 protected void createAndTestClusterOverride(final String propertyName, final String defaultValue, final String propertyValue, final String clusterName) { argument 187 final String clusterSysPropsUrl = URL_CLUSTER_SYSTEM_PROPERTIES.replaceAll("%clusterName [all...] |
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ |
H A D | StartClusterCommand.java | 71 private String clusterName; field in class:StartClusterCommand 85 logger.info(Strings.get("start.cluster", clusterName)); 102 clusterHelper.runCommand(commandName, null, clusterName, context,
|
H A D | StopClusterCommand.java | 64 private String clusterName; field in class:StopClusterCommand 90 logger.info(Strings.get("stop.cluster", clusterName)); 112 clusterHelper.runCommand(commandName, map, clusterName, context,
|
H A D | ClusterCommandHelper.java | 110 * @param clusterName The name of the cluster containing the instances 121 String clusterName, 131 // Get the cluster specified by clusterName 132 Cluster cluster = domain.getClusterNamed(clusterName); 135 clusterName); 140 List<Server> targetServers = domain.getServersInTarget(clusterName); 146 clusterName)); 247 msg = Strings.get("cluster.command.interrupted", clusterName, 118 runCommand( String command, ParameterMap map, String clusterName, AdminCommandContext context, boolean verbose) argument
|
H A D | GetHealthCommand.java | 93 private String clusterName; field in class:GetHealthCommand 103 logger.log(Level.INFO, Strings.get("get.health.called", clusterName)); 113 * domain.getClusterNamed(clusterName).getGmsEnabled(), but that 117 gmsAdapter = gmsAdapterService.getGMSAdapterByName(clusterName); 122 setFail(Strings.get("get.health.noGMS", clusterName)); 137 Cluster cluster = domain.getClusterNamed(clusterName); 139 return setFail(Strings.get("get.health.noCluster", clusterName)); 162 "get.health.no.instances", clusterName));
|
H A D | CreateInstanceCommand.java | 100 String clusterName; field in class:CreateInstanceCommand 146 if (lbEnabled != null && clusterName == null) { 163 map.add("cluster", clusterName);
|
/glassfish-3.1.2/cluster/gms-adapter/src/main/java/org/glassfish/gms/admin/ |
H A D | GMSAnnounceAfterStopClusterCommand.java | 71 private String clusterName; field in class:GMSAnnounceAfterStopClusterCommand 80 announceGMSGroupStopComplete(clusterName, report); 83 static public void announceGMSGroupStopComplete(String clusterName, ActionReport report) { argument 90 gmsInfo.gms.announceGroupShutdown(clusterName, groupShutdownState);
|
H A D | GMSAnnounceAfterStartClusterCommand.java | 76 private String clusterName; field in class:GMSAnnounceAfterStartClusterCommand 91 announceGMSGroupStartupComplete(clusterName, report); 94 static public void announceGMSGroupStartupComplete(String clusterName, ActionReport report) { argument 138 gmsInfo.gms.announceGroupStartup(clusterName, groupStartupState, members);
|
H A D | GMSAnnounceBeforeStopClusterCommand.java | 85 private String clusterName; field in class:GMSAnnounceBeforeStopClusterCommand 106 gmsadapter = gmsAdapterService.getGMSAdapterByName(clusterName); 108 // gmsadapter can be null if GMSEnabled=false for clusterName. 127 gms.announceGroupShutdown(clusterName, GMSConstants.shutdownState.INITIATED); 153 com.sun.enterprise.config.serverbeans.Cluster cluster = domain.getClusterNamed(clusterName); 157 targetServers = domain.getServersInTarget(clusterName);
|
H A D | GMSAnnounceBeforeStartClusterCommand.java | 81 private String clusterName; field in class:GMSAnnounceBeforeStartClusterCommand 105 gmsadapter = gmsAdapterService.getGMSAdapterByName(clusterName); 107 // gmsadapter can be null if GMSEnabled=false for clusterName. 126 gms.announceGroupStartup(clusterName, GMSConstants.groupStartupState.INITIATED, clusterMembers); 152 com.sun.enterprise.config.serverbeans.Cluster cluster = domain.getClusterNamed(clusterName); 156 targetServers = domain.getServersInTarget(clusterName);
|
/glassfish-3.1.2/installer/src/main/java/org/glassfish/installer/conf/ |
H A D | Cluster.java | 50 private String clusterName; field in class:Cluster 58 return clusterName; 62 * @param clusterName, name of the cluster.*/ 63 public void setClusterName(String clusterName) { argument 64 this.clusterName = clusterName; 81 public Cluster(String clusterName, String clusterProperties) { argument 82 this.clusterName = clusterName;
|
H A D | Instance.java | 63 protected String clusterName; field in class:Instance 67 return clusterName; 70 /* @param clusterName, name of the cluster to create/manipulate. */ 71 public void setClusterName(String clusterName) { argument 72 this.clusterName = clusterName;
|
H A D | ClusterManager.java | 97 * @param clusterName, name of the cluster to create. 103 public Cluster createCluster(Domain domainRef, String clusterName, String clusterProperties, String runningMode) { argument 119 Cluster glassfishCluster = new Cluster(clusterName, clusterProperties); 128 LOGGER.log(Level.INFO, Msg.get("CREATE_CLUSTER", new String[]{clusterName}));
|
H A D | InstanceManager.java | 108 * @param clusterName, cluster name for clustered instance, null otherwise. 114 String serverHostPort, String instanceType, String clusterName, String runningMode) { 122 glassfishInstance.setClusterName(clusterName); 113 createInstance(String instanceName, String serverHostName, String serverHostPort, String instanceType, String clusterName, String runningMode) argument
|
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/util/ |
H A D | RegisterInstanceCommandParameters.java | 62 public String clusterName; field in class:RegisterInstanceCommandParameters
|
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ |
H A D | DeleteHTTPLBRefCommand.java | 233 private void deleteClusterFromLBConfig(String configName, String clusterName) { argument 236 ClusterRef cRef = lbConfig.getRefByRef(ClusterRef.class, clusterName); 241 logger.finest("Cluster " + clusterName + " does not exist."); 248 Cluster c = domain.getClusterNamed(clusterName);
|
H A D | LBCommandsBase.java | 96 void updateLBForCluster(ActionReport report, String clusterName, String value, String timeout) { argument 97 Cluster c = domain.getClusterNamed(clusterName);
|
H A D | CreateHTTPLBRefCommand.java | 345 private void addClusterToLbConfig(final String configName, final String clusterName) { argument 348 ClusterRef cRef = lbConfig.getRefByRef(ClusterRef.class, clusterName); 362 ref.setRef(clusterName);
|
/glassfish-3.1.2/web/web-ha/src/main/java/org/glassfish/web/ha/session/management/ |
H A D | ReplicationWebEventPersistentManager.java | 102 private String clusterName = ""; field in class:ReplicationWebEventPersistentManager 269 clusterName = gmsAdapterService.getGMSAdapter().getClusterName(); 273 .setClusterName(clusterName)
|
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/custom/ |
H A D | SystemPropertiesCliResource.java | 230 protected Dom getCluster(Dom domain, String clusterName) { argument 233 if (config.attribute("name").equals(clusterName)) {
|
/glassfish-3.1.2/cluster/gms-bootstrap/src/main/java/org/glassfish/gms/bootstrap/ |
H A D | GMSAdapter.java | 188 boolean initialize(String clusterName); argument
|
H A D | GMSAdapterService.java | 181 public GMSAdapter getGMSAdapterByName(String clusterName) { argument 183 return habitat.getComponent(GMSAdapter.class, clusterName); 241 String clusterName = server.getPropertyValue(CLUSTER_NAME_PROPERTY); 242 if (clusterName == null || clusterName.isEmpty()) { 246 loadModule(clusterName); 260 logger.log(TRACE_LEVEL, "lookup GMSAdapter by clusterName=" +
|
/glassfish-3.1.2/jms/admin/src/main/java/org/glassfish/jms/admin/cli/ |
H A D | ConfigureJMSCluster.java | 92 // [usemasterbroker] [availability-enabled] [dbvendor] [dbuser] [dbpassword admin] [jdbcurl] [properties props] clusterName 94 configure-jms-cluster [--clustertype =conventional | enhanced] [--messagestoretype=jdbc | file] [--configstoretype=masterbroker | shareddb] [--dbvendor] [--dbuser] [--dbpassword] [--dburl] [--force] [--property (name=value)[:name-value]*] clusterName 130 String clusterName; field in class:ConfigureJMSCluster 148 Cluster cluster =domain.getClusterNamed(clusterName); 309 "Unable to Configure JMS Cluster for cluster {0}.", clusterName) + 320 "JMS Cluster Configuration updated for Cluster {0}.", clusterName));
|
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/ |
H A D | ClusterTest.java | 72 String clusterName = "clusterName" + generateRandomString(); 74 createCluster(clusterName, instanceName1); 77 String prefix = getTableRowByValue(ID_CLUSTERS_TABLE, clusterName, "col1"); 78 assertEquals(clusterName, getText(prefix + "col1:link")); 79 assertEquals(clusterName + "-config", getText(prefix + "col2:configlink")); 83 rowActionWithConfirm("propertyForm:clustersTable:topActionsGroup1:button2", ID_CLUSTERS_TABLE, clusterName); 85 prefix = getTableRowByValue(ID_CLUSTERS_TABLE, clusterName, "col1"); 89 rowActionWithConfirm("propertyForm:clustersTable:topActionsGroup1:button3", ID_CLUSTERS_TABLE, clusterName); 93 deleteCluster(clusterName); 323 gotoClusterInstancesPage(String clusterName) argument 368 createCluster(String clusterName, String... instanceNames) argument 386 createClusterInstance(String clusterName, String instanceName) argument 394 deleteCluster(String clusterName) argument 457 stopAllClusterInstances(String clusterName) argument [all...] |