Searched refs:servers (Results 1 - 25 of 64) sorted by relevance

123

/glassfish-3.1.2/admin/config-api/src/test/java/org/glassfish/config/support/
H A DDomainXmlPreParserTest.java103 List<String> servers = pp.getServerNames();
107 assertTrue(servers.size() == 1);
108 assertTrue(servers.get(0).equals("i1"));
117 List<String> servers = pp.getServerNames();
121 assertTrue(servers.size() == 1);
122 assertTrue(servers.contains("i1"));
123 assertFalse(servers.contains("i2"));
132 List<String> servers = pp.getServerNames();
136 assertTrue(servers.size() == 1);
137 assertTrue(servers
[all...]
/glassfish-3.1.2/transaction/jts/src/main/java/org/glassfish/jts/admin/cli/
H A DRecoverTransactionsBase.java64 Servers servers; field in class:RecoverTransactionsBase
77 if (servers.getServer(serverToRecover) == null) {
95 } else if (servers.getServer(destinationServer) == null) {
111 for(Server server : servers.getServer()) {
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DListNodesHelper.java56 private Servers servers; field in class:ListNodesHelper
68 public ListNodesHelper(Logger _logger, Servers servers, Nodes nodes, String type, boolean long_opt, boolean terse) { argument
73 this.servers = servers;
104 List<Server> serversOnNode = servers.getServersOnNode(n);
H A DListNodesCommand.java63 Servers servers; field in class:ListNodesCommand
82 ListNodesHelper lnh = new ListNodesHelper(logger, servers, nodes, "ALL", long_opt, terse);
H A DListNodesConfigCommand.java63 Servers servers; field in class:ListNodesConfigCommand
82 ListNodesHelper lnh = new ListNodesHelper(logger, servers, nodes, "CONFIG", long_opt, terse);
H A DListNodesSshCommand.java63 Servers servers; field in class:ListNodesSshCommand
82 ListNodesHelper lnh = new ListNodesHelper(logger, servers, nodes, "SSH", long_opt, terse);
H A DSynchronizeFiles.java87 private Servers servers; field in class:SynchronizeFiles
135 if (servers != null)
136 server = servers.getServer(sr.instance);
H A DStartInstanceCommand.java89 private Servers servers; field in class:StartInstanceCommand
134 servers = habitat.getByType(Servers.class);
158 instance = servers.getServer(instanceName);
217 servers.getServer(SystemPropertyConstants.DAS_SERVER_NAME);
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DRemoteInstanceCommandHelper.java72 servers = habitat.getByType(Servers.class).getServer();
91 for (Server server : servers) {
132 final private List<Server> servers; field in class:RemoteInstanceCommandHelper
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/
H A DListNodesDcomCommand.java64 Servers servers; field in class:ListNodesDcomCommand
76 ListNodesHelper lnh = new ListNodesHelper(context.getLogger(), servers,
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DClusteredServerConfigTest.java152 final ClusteredServerConfig[] servers = new ClusteredServerConfig[NUM];
155 servers[i] = createClusteredServer(baseName + "-" + i,
158 printVerbose("Created ClusteredServerConfig: " + servers[i].getName());
159 assert XTypes.CLUSTERED_SERVER_CONFIG.equals(servers[i].getJ2EEType());
165 final String name = servers[i].getName();
H A DStandaloneServerConfigTest.java81 final Map<String, StandaloneServerConfig> servers =
84 StandaloneServerConfig server = servers.get(getDefaultInstanceName());
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/
H A DClusterReaderImpl.java92 List<ServerRef> servers = null;
93 servers = _cluster.getServerRef();
96 if (servers != null) {
97 readers = new InstanceReader[servers.size()];
99 Iterator<ServerRef> serverIter = servers.iterator();
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/
H A DDeleteConnectorConnectionPool.java93 private Server[] servers; 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
180 deleteResourceRefs(servers, referringResource.getJndiName());
199 private void deleteResourceRefs(Server[] servers, final String refName) argument
201 if(servers != null){
202 for (Server server : servers) {
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/customvalidators/
H A DConfigRefValidator.java116 final Servers servers = server.getParent(Servers.class);
117 final Domain domain = servers.getParent(Domain.class);
120 if (servers.getServer(serverName) != null) { // validate for set, not _register-instance
/glassfish-3.1.2/admin/runtime/jsr77/src/main/java/org/glassfish/admin/runtime/jsr77/
H A DJ2EEManagedObjectMdl.java88 java.util.ArrayList servers =
94 if (servers.isEmpty()) {
101 return (MBeanServer)servers.get(0);
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/
H A DServer.java60 * Instances of server are embedded application servers, capable of attaching various containers
174 synchronized(servers) {
175 if (!servers.containsKey(serverName)) {
177 servers.put(serverName, s);
209 private final static Map<String, Server> servers = new HashMap<String, Server>(); field in class:Server
301 names.addAll(servers.keySet());
312 return servers.get(name);
575 synchronized(servers) {
576 servers.remove(serverName);
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/
H A DDeployUtil.java72 String serverEndpoint = GuiUtil.getSessionValue("REST_URL")+"/servers/server/";
110 List<String> servers = TargetUtil.getStandaloneInstances();
111 servers.add("server");
112 for(String oneServer: servers){
113 List appRefs = new ArrayList(RestUtil.getChildMap(GuiUtil.getSessionValue("REST_URL") + "/servers/server/" + oneServer + "/" + ref).keySet());
143 List<String> servers = TargetUtil.getStandaloneInstances();
144 servers.add("server");
145 for(String oneServer: servers){
146 List appRefs = new ArrayList(RestUtil.getChildMap(GuiUtil.getSessionValue("REST_URL") + "/servers/server/" + oneServer + "/" + ref).keySet());
149 aMap.put("endpoint", GuiUtil.getSessionValue("REST_URL") + "/servers/serve
[all...]
/glassfish-3.1.2/jdbc/admin/src/test/java/org/glassfish/jdbc/admin/cli/
H A DDeleteJdbcResourceTest.java158 Servers servers = habitat.getComponent(Servers.class);
160 for (Server server : servers.getServer()) {
208 Servers servers = habitat.getComponent(Servers.class);
210 for (Server server : servers.getServer()) {
323 Servers servers = habitat.getComponent(Servers.class);
325 for (Server server : servers.getServer()) {
/glassfish-3.1.2/appclient/client/acc-config/src/test/java/org/glassfish/appclient/client/acc/config/util/
H A DXMLTest.java110 List<TargetServer> servers = cc.getTargetServer();
113 assertTrue("target servers did not read correctly",
114 servers.get(0).getAddress().equals(FIRST_HOST) &&
115 servers.get(0).getPort().equals(FIRST_PORT) &&
116 servers.get(1).getAddress().equals(SECOND_HOST) &&
117 servers.get(1).getPort() == SECOND_PORT
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DServers.java59 * List of configured servers.
94 * @param node Node to get servers that reference
96 * List will be of length 0 if no servers reference node.
111 public static List<Server> getServersOnNode(Servers servers, Node node) { argument
112 List<Server> serverList = servers.getServer();
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/common/
H A DUtil.java115 List<String> servers = Server.getServerNames();
116 if (!servers.isEmpty()) {
/glassfish-3.1.2/jms/admin/src/main/java/org/glassfish/jms/admin/cli/
H A DFlushJMSDestination.java178 List servers =cluster.getInstances(); //target.getServer();
179 for (int server = 0; server < servers.size(); server++) {
181 purgeJMSDestination(destName, destType, ((Server)servers.get(server)).getName());
185 logger.log(Level.SEVERE,/*localStrings.getLocalString("admin.mbeans.rmb.error_purging_jms_dest") +*/ ((Server)servers.get(server)).getName());
/glassfish-3.1.2/orb/orb-iiop/src/main/java/org/glassfish/enterprise/iiop/impl/
H A DIiopFolbGmsClient.java137 Servers servers = habitat.getComponent(Servers.class ) ;
138 fineLog( "IiopFolbGmsClient: servers {0}", servers );
146 myServer = servers.getServer(instanceName) ;
415 final Servers servers = habitat.getComponent( Servers.class ) ;
416 fineLog( "getClusterInstanceInfo: servers {0}", servers ) ;
418 final Server server = servers.getServer(instanceName) ;
422 fineLog( "getClusterInstanceInfo: servers {0}", servers ) ;
[all...]
/glassfish-3.1.2/connectors/admin/src/test/java/org/glassfish/connectors/admin/cli/
H A DDeleteCustomResourceTest.java149 Servers servers = habitat.getComponent(Servers.class);
151 for (Server server : servers.getServer()) {

Completed in 40 milliseconds

123