/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/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...] |
H A D | JavaMessageServiceTest.java | 204 String clusterName = "clusterName" + generateRandomString(); 206 final String instance1 = clusterName + generateRandomString(); 207 final String instance2 = clusterName + generateRandomString(); 208 ct.createCluster(clusterName, instance1, instance2); 209 final String ELEMENT_JMS_LINK = "treeForm:tree:configurations:" + clusterName + "-config:jmsConfiguration:jmsConfiguration_link";
|
H A D | AvailabilityServiceTest.java | 108 final String clusterName = "cluster" + generateRandomString(); 116 ct.createCluster(clusterName); 119 clickAndWait("treeForm:tree:configurations:" + clusterName + "-config:availabilityService:availabilityService_link", TRIGGER_AVAILABILTY_SERVICE_PAGE);
|
/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 | JmsTest.java | 197 final String clusterName = ct.createCluster(); 198 ct.createClusterInstance(clusterName, "in1_"+clusterName); 199 ct.startCluster(clusterName); 200 final String endpoint = "/domain/clusters/cluster/" + clusterName; 219 ct.stopCluster(clusterName); 220 ct.deleteCluster(clusterName);
|
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...] |
H A D | EncodingTest.java | 70 final String clusterName = "mec" + generateRandomNumber(10); 71 final String instanceName = clusterName + "in" + generateRandomNumber(10); 74 ct.createCluster(clusterName); 75 ct.createClusterInstance(clusterName, instanceName); 88 ct.deleteCluster(clusterName);
|
/glassfish-3.1.2/admin/config-api/src/test/java/org/glassfish/config/support/ |
H A D | DomainXmlPreParserTest.java | 104 String clusterName = pp.getClusterName(); 109 assertNull(clusterName); 118 String clusterName = pp.getClusterName(); 124 assertNull(clusterName); 133 String clusterName = pp.getClusterName(); 139 assertNull(clusterName); 148 String clusterName = pp.getClusterName(); 153 assertEquals(clusterName, "c1"); 162 String clusterName = pp.getClusterName(); 168 assertEquals(clusterName, "c [all...] |
/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 | 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);
|
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 | 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);
|
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ |
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 | 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 | PostUnregisterInstanceCommand.java | 91 final String clusterName = context.getActionReport().getResultType(String.class); 92 if (clusterName != null) { 97 List<Server> instances = target.getInstances(clusterName);
|
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 | PostRegisterInstanceCommand.java | 94 if (suppInfo != null && clusterName != null) { 100 List<Server> instances = target.getInstances(this.clusterName);
|
/glassfish-3.1.2/web/web-ha/src/main/java/org/glassfish/web/ha/authenticator/ |
H A D | HASSOFactory.java | 105 String clusterName = ""; 109 clusterName = gmsAdapterService.getGMSAdapter().getClusterName(); 114 .setClusterName(clusterName)
|
/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/cluster/gms-bootstrap/src/main/java/org/glassfish/gms/bootstrap/ |
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=" +
|