Package com.caucho.server.admin

Examples of com.caucho.server.admin.StatusQuery


        targetModules[i] = new TargetModuleIDImpl((TargetImpl) target, tag);
      }

      ProgressObjectImpl result = new ProgressObjectImpl(targetModules);

      StatusQuery status = _deployClient.status(tag);

      String archiveName;

      if (archive != null)
        archiveName = String.valueOf(archive);
      else
        archiveName = "stream";

      if (status.getMessage() == null)
        result.completed(L.l("application {0} deployed from {1}",
                             name, archiveName));
      else
        result.failed(L.l("application {0} failed from {1}: {2}",
                          name, archiveName, status.getMessage()));

      return result;
    } // XXX: hack
    catch (RemoteConnectionFailedException e) {
      reset();
View Full Code Here


        targetModules[i] = new TargetModuleIDImpl((TargetImpl) target, tag);
      }

      ProgressObjectImpl result = new ProgressObjectImpl(targetModules);

      StatusQuery status = _deployClient.status(tag);

      String archiveName;

      if (archive != null)
  archiveName = String.valueOf(archive);
      else
  archiveName = "stream";

      if (status.getMessage() == null)
        result.completed(L.l("application {0} deployed from {1}",
                             name, archiveName));
      else
        result.failed(L.l("application {0} failed from {1}: {2}",
                          name, archiveName, status.getMessage()));

      return result;
    } // XXX: hack
    catch (RemoteConnectionFailedException e) {
      reset();
View Full Code Here

TOP

Related Classes of com.caucho.server.admin.StatusQuery

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.