org.apache.geronimo.webservices
Interface WebServiceContainer

All Superinterfaces:
Serializable
All Known Implementing Classes:
Axis2WebServiceContainer, AxisWebServiceContainer, CXFWebServiceContainer, EJBWebServiceContainer, EJBWebServiceContainer, POJOWebServiceContainer, POJOWebServiceContainer

public interface WebServiceContainer
extends Serializable


Nested Class Summary
static interface WebServiceContainer.Request
           
static interface WebServiceContainer.Response
           
 
Field Summary
static String LOCATION_REPLACEMENT_TOKEN
          Token inserted into wsdl where location should be replaced with the real location
static String MESSAGE_CONTEXT
          Used when this WebServiceContainer is servicing a POJO implementing the ServiceLifecycle interface, in which case the WebServiceContainer is expected to put the JAX-RPC MessageContext it creates in the Request instance.
static String POJO_INSTANCE
          Used when this WebServiceContainer is servicing a POJO, in which case the pojo instance is held by the enclosing servlet/invoker and passed in the Request instance to the container.
static String SERVLET_CONTEXT
          Used for JAX-WS MessageContext.
static String SERVLET_REQUEST
          Used for JAX-WS MessageContext.
static String SERVLET_RESPONSE
          Used for JAX-WS MessageContext.
 
Method Summary
 void destroy()
           
 void getWsdl(WebServiceContainer.Request req, WebServiceContainer.Response res)
           
 void invoke(WebServiceContainer.Request request, WebServiceContainer.Response response)
           
 

Field Detail

POJO_INSTANCE

static final String POJO_INSTANCE
Used when this WebServiceContainer is servicing a POJO, in which case the pojo instance is held by the enclosing servlet/invoker and passed in the Request instance to the container.


MESSAGE_CONTEXT

static final String MESSAGE_CONTEXT
Used when this WebServiceContainer is servicing a POJO implementing the ServiceLifecycle interface, in which case the WebServiceContainer is expected to put the JAX-RPC MessageContext it creates in the Request instance.


SERVLET_REQUEST

static final String SERVLET_REQUEST
Used for JAX-WS MessageContext. MessageContext must expose HttpServletRequest.


SERVLET_RESPONSE

static final String SERVLET_RESPONSE
Used for JAX-WS MessageContext. MessageContext must expose HttpServletResponse.


SERVLET_CONTEXT

static final String SERVLET_CONTEXT
Used for JAX-WS MessageContext. MessageContext must expose ServletContext.


LOCATION_REPLACEMENT_TOKEN

static final String LOCATION_REPLACEMENT_TOKEN
Token inserted into wsdl where location should be replaced with the real location

See Also:
Constant Field Values
Method Detail

invoke

void invoke(WebServiceContainer.Request request,
            WebServiceContainer.Response response)
            throws Exception
Throws:
Exception

getWsdl

void getWsdl(WebServiceContainer.Request req,
             WebServiceContainer.Response res)
             throws Exception
Throws:
Exception

destroy

void destroy()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.