Package com.caucho.env.deploy

Examples of com.caucho.env.deploy.DeployControllerService


    // XXX: just ping the tag?
    // updateDeploy();
   
    String tag = query.getTag();
   
    DeployControllerService deploy = DeployControllerService.getCurrent();
    DeployTagItem item = null;
   
    if (deploy != null) {
      deploy.update(tag);
      item = deploy.getTagItem(tag);
    }
   
    if (item != null) {
      TagStateQuery result = new TagStateQuery(tag, item.getState(),
                                               item.getDeployException());
View Full Code Here


    return true;
  }

  private String start(String tag)
  {
    DeployControllerService service = DeployControllerService.getCurrent();
   
    DeployTagItem controller = service.getTagItem(tag);

    if (controller == null)
      return L.l("'{0}' is an unknown controller", controller);

    try {
View Full Code Here

    return true;
  }

  private String stop(String tag)
  {
    DeployControllerService service = DeployControllerService.getCurrent();

    DeployTagItem controller = service.getTagItem(tag);

    if (controller == null)
      return L.l("'{0}' is an unknown controller", controller);

    try {
View Full Code Here

    return true;
  }

  private String restart(String tag)
  {
    DeployControllerService service = DeployControllerService.getCurrent();

    DeployTagItem controller = service.getTagItem(tag);

    if (controller == null)
      return L.l("'{0}' is an unknown controller", controller);

    try {
View Full Code Here

TOP

Related Classes of com.caucho.env.deploy.DeployControllerService

Copyright © 2018 www.massapicom. 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.