org.ow2.orchestra.console.ws.server
Class WSConsoleServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by org.ow2.orchestra.common.gwt.utils.server.OrchestraGwtServlet
                      extended by org.ow2.orchestra.console.ws.server.WSConsoleServlet
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, WSConsoleServices

public class WSConsoleServlet
extends OrchestraGwtServlet
implements WSConsoleServices

Author:
Loic Albertin
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ow2.orchestra.console.ws.client.WSConsoleServices
WSConsoleServices.App
 
Field Summary
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
WSConsoleServlet()
           
 
Method Summary
 SoapRequest generateRequest(ActivityEndpoint activityEndpoint)
          Generates a sample request for an ActivityEndpoint
 ProcessEndpoints getProcessEndpoints(String processId)
          Retrieves a ProcessEndpoints for a given process id
 String sendRequest(SoapRequest soapRequest)
          Send a request on a given ActivityEndpoint
 
Methods inherited from class org.ow2.orchestra.common.gwt.utils.server.OrchestraGwtServlet
getAPI, getSessionAPIs
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
 
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSConsoleServlet

public WSConsoleServlet()
Method Detail

getProcessEndpoints

public ProcessEndpoints getProcessEndpoints(String processId)
                                     throws OrchestraGwtException
Description copied from interface: WSConsoleServices
Retrieves a ProcessEndpoints for a given process id

Specified by:
getProcessEndpoints in interface WSConsoleServices
Parameters:
processId - The process id
Returns:
The retrieved ProcessEndpoints
Throws:
OrchestraGwtException

generateRequest

public SoapRequest generateRequest(ActivityEndpoint activityEndpoint)
                            throws OrchestraGwtException
Description copied from interface: WSConsoleServices
Generates a sample request for an ActivityEndpoint

Specified by:
generateRequest in interface WSConsoleServices
Parameters:
activityEndpoint - The ActivityEndpoint for which a request should be generated
Returns:
The generated request as String
Throws:
OrchestraGwtException

sendRequest

public String sendRequest(SoapRequest soapRequest)
                   throws OrchestraGwtException
Description copied from interface: WSConsoleServices
Send a request on a given ActivityEndpoint

Specified by:
sendRequest in interface WSConsoleServices
Parameters:
soapRequest - The request to send
Returns:
The response in case of request/response service
Throws:
OrchestraGwtException


Copyright © 2012 OW2 Consortium. All Rights Reserved.