org.apache.geronimo.cxf
Class CXFWebServiceContainer

java.lang.Object
  extended by org.apache.geronimo.cxf.CXFWebServiceContainer
All Implemented Interfaces:
Serializable, WebServiceContainer
Direct Known Subclasses:
EJBWebServiceContainer, POJOWebServiceContainer

public abstract class CXFWebServiceContainer
extends Object
implements WebServiceContainer

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.geronimo.webservices.WebServiceContainer
WebServiceContainer.Request, WebServiceContainer.Response
 
Field Summary
protected  org.apache.cxf.Bus bus
           
protected  URL configurationBaseUrl
           
protected  GeronimoDestination destination
           
protected  CXFEndpoint endpoint
           
 
Fields inherited from interface org.apache.geronimo.webservices.WebServiceContainer
LOCATION_REPLACEMENT_TOKEN, MESSAGE_CONTEXT, POJO_INSTANCE, SERVLET_CONTEXT, SERVLET_REQUEST, SERVLET_RESPONSE
 
Constructor Summary
CXFWebServiceContainer(org.apache.cxf.Bus bus, URL configurationBaseUrl, Object target)
           
 
Method Summary
 void destroy()
           
static org.apache.cxf.Bus getBus()
           
 void getWsdl(WebServiceContainer.Request request, WebServiceContainer.Response response)
           
 void invoke(WebServiceContainer.Request request, WebServiceContainer.Response response)
           
protected  void processGET(WebServiceContainer.Request request, WebServiceContainer.Response response)
           
protected  void processPOST(WebServiceContainer.Request request, WebServiceContainer.Response response)
           
protected abstract  CXFEndpoint publishEndpoint(Object target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destination

protected final GeronimoDestination destination

bus

protected final org.apache.cxf.Bus bus

endpoint

protected final CXFEndpoint endpoint

configurationBaseUrl

protected URL configurationBaseUrl
Constructor Detail

CXFWebServiceContainer

public CXFWebServiceContainer(org.apache.cxf.Bus bus,
                              URL configurationBaseUrl,
                              Object target)
Method Detail

invoke

public void invoke(WebServiceContainer.Request request,
                   WebServiceContainer.Response response)
            throws Exception
Specified by:
invoke in interface WebServiceContainer
Throws:
Exception

processGET

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

processPOST

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

getWsdl

public void getWsdl(WebServiceContainer.Request request,
                    WebServiceContainer.Response response)
             throws Exception
Specified by:
getWsdl in interface WebServiceContainer
Throws:
Exception

destroy

public void destroy()
Specified by:
destroy in interface WebServiceContainer

publishEndpoint

protected abstract CXFEndpoint publishEndpoint(Object target)

getBus

public static org.apache.cxf.Bus getBus()


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