/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/ |
H A D | TargetUtil.java | 97 List clusters = new ArrayList(); 99 clusters.addAll(RestUtil.getChildMap(GuiUtil.getSessionValue("REST_URL") + "/clusters/cluster").keySet()); 106 return clusters; 112 instances.addAll(RestUtil.getChildMap(GuiUtil.getSessionValue("REST_URL") + "/clusters/cluster/" + cluster + "/server-ref").keySet()); 126 List clusters = TargetUtil.getClusters(); 127 if (clusters.contains(target)){ 128 endpoint = endpoint + "/clusters/cluster/" + encodedName; 151 List clusters = TargetUtil.getClusters(); 153 if (clusters [all...] |
H A D | DeployUtil.java | 70 List clusters = TargetUtil.getClusters(); 71 String clusterEndpoint = GuiUtil.getSessionValue("REST_URL")+"/clusters/cluster/"; 75 if (clusters.contains(targetName)){ 97 //This method returns the list of targets (clusters and standalone instances) of any deployed application 102 List<String> clusters = TargetUtil.getClusters(); 103 for(String oneCluster: clusters){ 104 List appRefs = new ArrayList(RestUtil.getChildMap(GuiUtil.getSessionValue("REST_URL")+"/clusters/cluster/"+oneCluster+"/"+ref).keySet()); 133 List<String> clusters = TargetUtil.getClusters(); 134 for(String oneCluster: clusters){ 135 List appRefs = new ArrayList(RestUtil.getChildMap(GuiUtil.getSessionValue("REST_URL")+"/clusters/cluste [all...] |
H A D | AppUtil.java | 90 List clusters = TargetUtil.getClusters(); 95 if (clusters.contains(target)){ 96 endpoint = prefix + "/clusters/cluster/" + target + "/application-ref/" + appName; 142 List clusters = (clusterList == null) ? TargetUtil.getClusters() : clusterList; 143 String clusterEndpoint = GuiUtil.getSessionValue("REST_URL")+"/clusters/cluster/"; 148 if (clusters.contains(targetName)){
|
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ |
H A D | Clusters.java | 62 * Return the list of clusters currently configured 84 public static Cluster getCluster(Clusters clusters, String name) { argument 85 for (Cluster cluster : clusters.getCluster()) {
|
H A D | Server.java | 340 Clusters clusters = serverDom.getHabitat().getComponent(Clusters.class); 341 if (clusters != null) { 342 for (Cluster cluster : clusters.getCluster()) { 506 Clusters clusters = domain.getClusters(); 549 if (clusters != null) { 550 for (Cluster cluster : clusters.getCluster()) {
|
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/ |
H A D | DeleteConnectorConnectionPool.java | 96 private Cluster[] clusters; field in class:DeleteConnectorConnectionPool 126 Object obj = deleteAssociatedResources(servers, clusters, domain.getResources(), 172 private Object deleteAssociatedResources(final Server[] servers, final Cluster[] clusters, Resources resources, argument 181 deleteResourceRefs(clusters, referringResource.getJndiName()); 208 private void deleteResourceRefs(Cluster[] clusters, final String refName) argument 210 if(clusters != null){ 211 for (Cluster cluster : clusters) {
|
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ |
H A D | ListClustersCommand.java | 70 * This is a remote command that lists the clusters. 71 * Usage: list-clusters 76 @Service(name = "list-clusters") 79 @I18n("list.clusters.command") 113 //Fix for issue 13057 list-clusters doesn't take an operand 116 Clusters clusters = domain.getClusters(); 117 clusterList = clusters.getCluster(); 198 * if target was junk then return all the clusters 266 List<Cluster> clusters = new LinkedList<Cluster>(); 270 clusters [all...] |
H A D | ExportSyncBundle.java | 230 if (clusters != null) { 231 cluster = clusters.getCluster(cluster_instance); 290 private Clusters clusters; field in class:ExportSyncBundle
|
/glassfish-3.1.2/jms/jms-core/src/main/java/com/sun/enterprise/connectors/jms/util/ |
H A D | JmsRaUtil.java | 156 public static boolean isClustered(List clusters, String instanceName) { argument 158 return (enableClustering() && isServerClustered(clusters, 164 public static boolean isServerClustered(List clusters, String instanceName) argument 166 return (getClusterForServer(clusters, instanceName) != null); 168 public static Cluster getClusterForServer(List clusters, String instanceName){ argument 171 for (int i = 0; i < clusters.size(); i++) { 172 final List servers = ((Cluster)clusters.get(i)).getInstances(); 177 return (Cluster) clusters.get(i); 186 * No uMQ clusters will be created with AS cluster if
|
/glassfish-3.1.2/cluster/gms-bootstrap/src/main/java/org/glassfish/gms/bootstrap/ |
H A D | GMSAdapterService.java | 96 Clusters clusters; field in class:GMSAdapterService 139 // in the UMC case, check server-config, otherwise check clusters 145 } else if (clusters != null) { 147 checkAllClusters(clusters); 190 private void checkAllClusters(Clusters clusters) { argument 192 logger.log(TRACE_LEVEL, "In DAS. Checking all clusters."); 194 for (Cluster cluster : clusters.getCluster()) { 251 * Initial support for multiple clusters in DAS. A clustered instance can 318 // todo: when supporting multiple clusters, ensure that newly added cluster has a different gms-multicast-address than all existing clusters [all...] |
/glassfish-3.1.2/jms/jms-core/src/main/java/com/sun/enterprise/connectors/jms/system/ |
H A D | MQAddressList.java | 133 //setup for LOCAL/EMBEDDED clusters. 140 logFine("performing default setup for DAS/remote clusters/PE instance" + targetName); 272 Clusters clusters = domain.getClusters(); 273 List clusterList = clusters.getCluster(); 335 Clusters clusters = domain.getClusters(); 336 List clusterList = clusters.getCluster(); 432 * For LOCAL/EMBEDDED clusters the MQ broker corresponding 477 Clusters clusters = domain.getClusters(); 478 List clusterList = clusters.getCluster(); 724 Clusters clusters [all...] |
/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/ |
H A D | ListResourceRefs.java | 86 private Clusters clusters; field in class:ListResourceRefs 103 List<com.sun.enterprise.config.serverbeans.Cluster> clusterList = clusters.getCluster();
|
/glassfish-3.1.2/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/ |
H A D | DeleteJdbcConnectionPool.java | 92 private Cluster[] clusters; field in class:DeleteJdbcConnectionPool 105 ResourceStatus rs = jdbcConnMgr.delete(servers, clusters, domain.getResources(), cascade.toString(), poolName);
|
H A D | JDBCConnectionPoolManager.java | 318 public ResourceStatus delete(Server[] servers, Cluster[] clusters, final Resources resources, final String cascade, argument 338 Object obj = deleteAssociatedResources(servers, clusters, resources, 379 private Object deleteAssociatedResources(final Server[] servers, final Cluster[] clusters, Resources resources, argument 388 deleteResourceRefs(clusters, referringResource.getJndiName()); 413 private void deleteResourceRefs(Cluster[] clusters, final String refName) argument 415 if(clusters != null){ 416 for (Cluster cluster : clusters) {
|
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/ |
H A D | DomainXmlPreParser.java | 60 * clusters 64 * with the streaming parser. As of July 6,2010 the clusters ALWAYS appears after the 163 for (ClusterData cd : clusters) { 247 clusters.add(cd); 301 private List<ClusterData> clusters = new LinkedList<ClusterData>(); field in class:DomainXmlPreParser
|
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ |
H A D | ExportHttpLbConfig.java | 133 Set<String> clusters = new HashSet<String>(); 134 clusters.addAll(target); 135 lbr = new LoadbalancerReaderImpl(domain, appRegistry, clusters, properties);
|
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/ |
H A D | ApplicationHandlers.java | 399 List clusters = TargetUtil.getClusters(); 403 if (clusters.contains(target)){ 404 ep = ep + "/clusters/cluster/" + target + "/application-ref/" + appName; 481 List clusters = TargetUtil.getClusters(); 494 AppUtil.manageAppTarget(appName, newTarget, true, status, clusters, standalone, handlerCtx); 499 AppUtil.manageAppTarget(appName, oTarget, false, null, clusters, standalone, handlerCtx); 559 List clusters = TargetUtil.getClusters(); 568 if (clusters.contains(oneTarget)){ 569 endpoint = prefix + "/clusters/cluster/" + oneTarget + "/application-ref/" + appName; 669 List clusters [all...] |
H A D | DeploymentHandler.java | 201 List clusters = TargetUtil.getClusters(); 204 AppUtil.manageAppTarget((String)attrMap.get("name"), appRefs.get(i), true, (String)attrMap.get("enabled"), clusters, standalone, handlerCtx);
|
/glassfish-3.1.2/cluster/gms-adapter/src/main/java/org/glassfish/gms/ |
H A D | GMSConfigUpgrade.java | 70 Clusters clusters; field in class:GMSConfigUpgrade 93 List<Cluster> clusterList = clusters.getCluster();
|
H A D | GMSAdapterImpl.java | 101 * Used only for user-managed clusters. This ties each cluster 110 * Used only for user-managed clusters. This prop can be set 154 Clusters clusters; field in class:GMSAdapterImpl 204 if (cluster == null && clusters != null) { 206 // iterate over all clusters to find the cluster that has name passed in. 207 for (Cluster clusterI : clusters.getCluster()) { 483 * Special case for user-managed clusters. This is the equivalent
|
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/ |
H A D | LoadbalancerReaderImpl.java | 75 public LoadbalancerReaderImpl(Domain domain, ApplicationRegistry appRegistry, Set<String> clusters, Properties properties) { argument 78 _clusters = clusters; 133 //Mix of standalone instances and clusters is not allowed
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/xml/ |
H A D | MiniXmlParser.java | 291 skipTo("servers", "property", "clusters", "system-property"); 296 else if ("clusters".equals(name)) 330 skipTo("configs", "property", "clusters", "system-property"); 335 if ("clusters".equals(name)) 631 // find the domain name and/or clusters, if it is there 638 while (skipToButNotPast("domain", "property", "clusters", "system-property","secure-admin")) { 640 if ("clusters".equals(name)) 913 // clusters is short and sweet. Just parse the whole thing first -- and then do 916 // cursor ==> clusters 917 // if there is more than one clusters elemen 1004 private List<ParsedCluster> clusters = null; field in class:MiniXmlParser [all...] |
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/commands/ |
H A D | ListLogAttributes.java | 91 Clusters clusters; field in class:ListLogAttributes
|
H A D | ListLoggerLevels.java | 89 Clusters clusters; field in class:ListLoggerLevels
|
H A D | SetLogAttributes.java | 103 Clusters clusters; field in class:SetLogAttributes
|