Examples of ServerStatus


Examples of org.jboss.as.controller.client.helpers.domain.ServerStatus

            for (String server : servers) {
                ModelNode address = new ModelNode();
                address.add("host", host);
                address.add("server-config", server);
                String group = readAttribute("group", address).asString();
                ServerStatus status = Enum.valueOf(ServerStatus.class, readAttribute("status", address).asString());
                ServerIdentity id = new ServerIdentity(host, group, server);
                result.put(id, status);
            }

        }
View Full Code Here

Examples of org.jboss.as.domain.client.api.ServerStatus

    public Map<ServerIdentity, ServerStatus> getServerStatuses() {
        Map<ServerIdentity, ServerStatus> result = new HashMap<ServerIdentity, ServerStatus>();
        for (ServerElement se : getHostModel().getServers()) {
            ServerIdentity id = new ServerIdentity(getName(), se.getServerGroup(), se.getName());
            ServerStatus status = determineServerStatus(se);
            result.put(id, status);
        }
        return result;
    }
View Full Code Here

Examples of org.jboss.bpm.console.client.model.ServerStatus

    return RequestBuilder.GET;
  }

  public void handleSuccessfulResponse(final Controller controller, final Object event, Response response)
  {
    ServerStatus status = JSOParser.parseStatus(response.getText());
    ServerPlugins.setStatus(status);   
  }
View Full Code Here

Examples of org.jclouds.glesys.domain.ServerStatus

      assertEquals(1, details.getCpuCores());
      assertEquals(50, details.getTransferGB());
   }

   public void testServerStatus() throws Exception {
      ServerStatus newStatus = serverApi.getStatus(serverId);
      checkStatus(newStatus);
   }
View Full Code Here

Examples of org.jclouds.glesys.domain.ServerStatus

      serverApi.start(testServer2.getId());

      // TODO ServerStatus==STOPPED suggests the previous call to start should have worked
      cloneChecker = retry(new Predicate<Server.State>() {
         public boolean apply(Server.State value) {
            ServerStatus status = serverApi.getStatus(testServerId2, ServerStatusOptions.Builder.state());
            if (status.getState() == value) {
               return true;
            }
            serverApi.start(testServerId2);
            return false;
         }
View Full Code Here

Examples of org.jitterbit.integration.client.admin.ServerStatus

            updateEngine(EnumSet.of(ServerStatus.STOPPED), "The " + getEngine().getName() + " is stopped.");
        }

        @Override
        protected void updateEngineStatusWhenCancelled() {
            ServerStatus status = wasRunning ? ServerStatus.RUNNING : ServerStatus.UNDEFINED;
            getEngine().setStatus(EnumSet.of(status));
        }
View Full Code Here

Examples of org.nasutekds.server.replication.common.ServerStatus

  /**
   * Creates DSInfo for the passed DS, connected to the passed RS
   */
  private DSInfo createDSInfo(int dsId, int rsId)
  {
    ServerStatus status = ServerStatus.NORMAL_STATUS;

    byte groupId = -1;
    AssuredType assuredType = null;
    int assuredSdLevel = -100;
    SortedSet<String> refUrls = null;
View Full Code Here

Examples of org.openxri.xml.ServerStatus

      XRD xrd = tmpXRDS.getDescriptorAt(d);
      xrdsOut.add(xrd);

      // status is not success
      ServerStatus sstat = xrd.getServerStatus();
      Status stat;
      if (sstat == null) {
        // compatibility: if no ServerStatus, look for Status
        stat = xrd.getStatus();
        if (stat != null) {
          xrd.setServerStatus(new ServerStatus(stat.getCode(), stat.getText()));
        }
      }
      else {
        stat = new Status(sstat.getCode(), sstat.getText());
        xrd.setStatus(stat);
      }
     
      if (stat == null)
        throw makeResolutionException(xrdsOut, query, Status.INVALID_XRDS, "Missing ServerStatus or Status element in XRD");
View Full Code Here

Examples of org.openxri.xml.ServerStatus

      XRD xrd = tmpXRDS.getDescriptorAt(0);
      xrdsOut.add(xrd);


      ServerStatus sstat = xrd.getServerStatus();
      Status stat;
      if (sstat == null) {
        // compatibility: if no ServerStatus, look for Status
        stat = xrd.getStatus();
      }
      else {
        stat = new Status(sstat.getCode(), sstat.getText());
        xrd.setStatus(stat);
      }
     
      if (stat == null)
        throw makeResolutionException(xrdsOut, query, Status.INVALID_XRDS, "Missing ServerStatus or Status element in Redirect XRD");
View Full Code Here

Examples of org.openxri.xml.ServerStatus

    XRD xrd = new XRD();

    xrd.setQuery(subSegmentName);
    xrd.setStatus(new Status(Status.QUERY_NOT_FOUND, "No descriptor found for this query."));
    xrd.setServerStatus(new ServerStatus(Status.QUERY_NOT_FOUND, "No descriptor found for this query."));

    return(xrd);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.