Package org.hpi.service

Examples of org.hpi.service.ExecuteInvoker


     
      HPIDataFactory dataFactory = HPIDataFactory.getInstance();
      Invoker invoker = dataFactory.getInvoker(clientRequest.getInvokeId());
     
      if (invoker != null) {
        ExecuteInvoker service = new ExecuteInvoker(invoker);
        String executionResult = service.runExecutables();
        return new ExecuteInvokerResponse(executionResult, Response.Status.SUCCESS);
      } else {
        return new ExecuteInvokerResponse("No invoker was found for the id: " + clientRequest.getInvokeId(), Response.Status.FAIL);
      }
    } catch (HPISessionException e) {
View Full Code Here

TOP

Related Classes of org.hpi.service.ExecuteInvoker

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.