Searched refs:instances (Results 1 - 25 of 26) sorted by relevance

12

/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/api/
H A DTarget.java151 List<Server> instances = new ArrayList<Server>();
153 instances.addAll(getInstances(aName));
154 return instances;
164 * elements that represent all server instances of that cluster is returned.
169 List<Server> instances = new ArrayList<Server>();
171 return instances;
173 return instances;
175 instances.add(domain.getServerNamed(targetName));
178 instances = getCluster(targetName).getInstances();
185 instances
[all...]
H A DUndoableCommand.java60 * successfully on some instances but fail on others necessitating to rollback the
61 * entire set of instances to a state previous to the action execution.
95 * servers instances are on-line and can be notified of the change.
101 * <p>Note that if, as part of prepare, remote instances have to be contacted, then it is the responsibility of
121 * implementation to invoke remote instances to do the actual undo if required
125 * @param instances instances on which the command succeeded
127 public void undo(AdminCommandContext context, ParameterMap parameters, List<Server> instances); argument
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/servedcontent/
H A DCachingDynamicContentImpl.java69 *We save and track only a few individual response instances, because the assumption
81 /** maximum number of instances of content to keep for each template */
93 /** content instances resulting from previous HTTP GET requests */
94 private final LinkedList<Instance> instances = new LinkedList<Instance>(); field in class:CachingDynamicContentImpl
96 /** max. number of instances to cache */
154 synchronized (instances) {
155 for (Instance i : instances) {
176 synchronized (instances) {
177 instances.addFirst(newInstance);
178 if (instances
[all...]
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/
H A DTargetUtil.java74 String endpoint = GuiUtil.getSessionValue("REST_URL") + "/list-instances" ;
110 List instances = new ArrayList();
112 instances.addAll(RestUtil.getChildMap(GuiUtil.getSessionValue("REST_URL") + "/clusters/cluster/" + cluster + "/server-ref").keySet());
116 return instances;
152 List<String> instances = new ArrayList();
154 instances = getClusteredInstances(target);
156 instances.add(target);
159 for (String instance : instances) {
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/audit/
H A DAuditManager.java102 private List instances = Collections.synchronizedList(new ArrayList()); field in class:AuditManager
170 instances.add(auditModule);
205 // clone list to resolve multi-thread issues in looping instances
207 Collections.copy(instances, list);
209 instances = Collections.synchronizedList(list);
221 // clone list to resolve multi-thread issues in looping instances
223 Collections.copy(instances, list);
225 instances = Collections.synchronizedList(list);
261 List list = instances;
286 List list = instances;
[all...]
/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/
H A DResourceUtil.java96 // create new ResourceRef for all instances of Cluster
98 List<Server> instances = tgt.getInstances(target);
99 for (Server svr : instances) {
198 // delete ResourceRef for all instances of Cluster
200 List<Server> instances = tgt.getInstances(target);
201 for (Server svr : instances) {
H A DCreateResourceRef.java136 // create new ResourceRef for all instances of Cluster
138 List<Server> instances = tgt.getInstances(target);
139 for (Server svr : instances) {
H A DDeleteResourceRef.java123 // delete ResourceRef for all instances of Cluster
125 List<Server> instances = tgt.getInstances(target);
126 for (Server svr : instances) {
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DPostRegisterInstanceCommand.java69 * Causes InstanceRegisterInstanceCommand executions on the correct remote instances.
100 List<Server> instances = target.getInstances(this.clusterName);
101 for (Server s : instances) {
H A DPostUnregisterInstanceCommand.java66 * Causes InstanceRegisterInstanceCommand executions on the correct remote instances.
97 List<Server> instances = target.getInstances(clusterName);
98 for (Server s : instances) {
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/pool/
H A DNonBlockingPool.java335 ArrayList instances = new ArrayList(count);
338 instances.add(factory.create(null));
344 int sz = instances.size();
357 list.add(instances.remove(0));
362 // destroys unnecessary instances
363 for (Object o : instances) {
/glassfish-3.1.2/ejb/ejb-container/src/main/java/org/glassfish/ejb/admin/cli/
H A DMigrateTimers.java162 List<Server> instances = fromServerCluster.getInstances();
163 for(Server instance : instances) {
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DClusterHandler.java86 * This method takes in a list of instances with status, which is the output of list-instances
365 * list-instances --standaloneonly=true. Extract the instance name from this properties list.
366 * The result list will include "server", clusters and standalone instances, suitable for deployment or create resources.
388 List<Map> instances = (List<Map>) handlerCtx.getInputValue("listInstanceProps");
389 if (instances != null) {
390 for (Map instance : instances) {
424 @HandlerOutput(name = "instances", type = List.class),
431 List instances = new ArrayList();
442 String endpoint = GuiUtil.getSessionValue("REST_URL")+"/list-instances";
[all...]
H A DApplicationHandlers.java670 List<String> instances = new ArrayList();
672 instances = TargetUtil.getClusteredInstances(target);
674 instances.add(target);
677 for (String instance : instances) {
/glassfish-3.1.2/ejb/ejb-container/src/main/java/org/glassfish/ejb/startup/
H A DEjbDeployer.java612 List<Server> instances = cluster.getInstances();
615 int useInstance = random.nextInt(instances.size());
616 Server s0 = instances.get(useInstance);
621 for (Server s : instances) {
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DEJBContextImpl.java596 void setInterceptorInstances(Object[] instances) { argument
597 this.interceptorInstances = instances;
/glassfish-3.1.2/jms/admin/src/main/java/org/glassfish/jms/admin/cli/
H A DConfigureJMSCluster.java157 List instances = cluster.getInstances();
158 /*if(!force && instances.size() > 0){
160 "The cluster has existing instances configured. This command should be run before adding instances to the cluster. To force run this command, please follow the instructions in the documentation and use the --force=true option"));
315 if(instances.size() > 0){
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DDynamicInterceptor.java105 //get the instances list
106 List<String> instances = result.getInstances();
239 List<String> instances = result.getInstances();
242 instances.add("server");
253 instances.add("server");
256 // gets set for DAS and instances. For instance, we want only default MBean server
257 // So if this instance is not DAS, we just return server so the instances will
259 instances.add("server");
261 instances.add("server");
264 instances
954 private List<String> instances = new ArrayList<String>(); field in class:DynamicInterceptor.ReplicationInfo
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DCluster.java89 * A cluster defines a homogeneous set of server instances that share the same
113 * points to a named config. All server instances in the cluster
432 ArrayList<Server> instances = new ArrayList<Server>();
438 instances.add(domain.getServerNamed(sRef.getRef()));
441 return instances;
679 // hardcode all instances to use same default port.
680 // generate mode does not support multiple instances on one machine.
802 //check if the cluster contains instances throw error that cluster
814 "Cluster {0} contains server instances {1} and must not contain any instances"
[all...]
/glassfish-3.1.2/jms/jms-core/src/main/java/com/sun/enterprise/connectors/jms/system/
H A DMQAddressList.java354 //Now fetch the server instances in the cluster.
407 //For LOCAL or EMBEDDED standalone server instances, we need to resolve
489 List instances = cluster.getInstances();
490 for (int i=0; i < instances.size(); i++){
491 if(instanceName.equals(((Server)instances.get(i)).getName()))
569 // For LOCAL/EMBEDDED Clustered instances and
570 // standalone server instances, use
/glassfish-3.1.2/persistence/cmp/generator-database/src/main/java/com/sun/jdo/spi/persistence/generator/database/
H A DMappingPolicy.java87 // kind of like instances of structs, with each base naming an instance
374 * per dbvendor, is shared by all MappingPolicy instances.
453 /** Map from database vendor names to instances of MappingPolicy. */
454 private static final Map instances = new HashMap(); field in class:MappingPolicy
545 instances.put(DBVendorTypeHelper.DEFAULT_DB, this);
564 instances.put(databaseType, this);
597 mappingPolicy = (MappingPolicy) instances.get(databaseType);
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/module/
H A DConnectorDeployer.java430 // delete ResourceRef for all instances of Cluster
432 List<Server> instances = tgt.getInstances(target);
433 for (Server svr : instances) {
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/commands/
H A DCollectLogFiles.java310 List<Server> instances = cluster.getInstances();
314 for (Server instance : instances) {
315 // downloading log files for all instances which is part of cluster under temp directory.
395 "collectlogfiles.noinstance", "No instances are defined as part of {0}. So there are no files to zip.", target));
/glassfish-3.1.2/tests/community/web/jruby/helloapp/public/javascripts/
H A Deffects.js252 instances: $H(),
256 if(!this.instances[queueName])
257 this.instances[queueName] = new Effect.ScopedQueue();
259 return this.instances[queueName];
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/
H A DAMXValidator.java1167 final Set<ObjectName> instances = mMBeanServer.queryNames( pattern, null);
1170 if ( instances.size() > 1 )
1174 CollectionUtil.toString(instances, ", "));

Completed in 56 milliseconds

12