Examples of doAction()


Examples of org.objectweb.speedo.j2eedo.ejb.StoreServicesRemote.doAction()

                        logger.log(BasicLevel.ERROR, "Error during the creation of Local Session", e);
                        throw new ServletException(e);
                    }
                    try {
                        ServletOutputStream out = resp.getOutputStream();
                        out.println(lstoreServices.doAction(action));
                    } finally {
                        //release the session bean from the pool
                        lstoreServices.remove();
                    }
                }
View Full Code Here

Examples of org.platformlayer.PlatformLayerClient.doAction()

    PlatformLayerClient client = getPlatformLayerClient();

    PlatformLayerKey key = path.resolve(getContext());

    JobData ret = client.doAction(key, json, Format.JSON);
    return ret;
  }

  @Override
  public void formatRaw(Object o, PrintWriter writer) {
View Full Code Here

Examples of org.platformlayer.PlatformLayerClient.doAction()

  protected JobData runAction(ItemPath path, Action action) throws PlatformLayerClientException {
    PlatformLayerClient client = getPlatformLayerClient();

    PlatformLayerKey key = path.resolve(getContext());

    JobData ret = client.doAction(key, action);
    return ret;
  }

  @Override
  public void formatRaw(Object o, PrintWriter writer) {
View Full Code Here

Examples of org.platformlayer.PlatformLayerClient.doAction()

        try {
          PlatformLayerClient platformLayer = HttpPlatformLayerClient.build(httpStrategy,
              endpoint.getPlatformlayerBaseUrl(), endpoint.getAuthenticator(), endpoint.getProjectId(),
              endpoint.getTrustKeys());

          platformLayer.doAction(target, task.action);

          // TODO: Wait for task completion??
          // TODO: Link job id??
        } catch (PlatformLayerClientException e) {
          log.warn("Error running action", e);
View Full Code Here

Examples of org.platformlayer.TypedPlatformLayerClient.doAction()

  public <T extends ItemBase> JobData doAction(T item, Action action) throws OpsException, IOException {
    TypedPlatformLayerClient client = getTypedClient();

    PlatformLayerKey key = item.getKey();
    return client.doAction(key, action);
  }

  public <T extends ItemBase> JobData doConfigure(T item) throws OpsException, IOException {
    return doAction(item, ConfigureAction.create());
  }
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.