org.apache.openejb.server.cxf
Class CxfWsContainer

java.lang.Object
  extended by org.apache.openejb.server.cxf.CxfWsContainer
All Implemented Interfaces:
HttpListener
Direct Known Subclasses:
EjbWsContainer, PojoWsContainer

public abstract class CxfWsContainer
extends java.lang.Object
implements HttpListener


Field Summary
protected  org.apache.cxf.Bus bus
           
protected  HttpDestination destination
           
protected  CxfEndpoint endpoint
           
protected  HttpTransportFactory httpTransportFactory
           
protected  PortData port
           
 
Constructor Summary
CxfWsContainer(org.apache.cxf.Bus bus, PortData port)
           
 
Method Summary
protected abstract  CxfEndpoint createEndpoint()
           
 void destroy()
           
static org.apache.cxf.Bus getBus()
           
static org.apache.cxf.Bus getDefaultBus()
           
 void onMessage(HttpRequest request, HttpResponse response)
           
protected  void processGET(HttpRequest request, HttpResponse response)
           
protected  void processPOST(HttpRequest request, HttpResponse response)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bus

protected final org.apache.cxf.Bus bus

port

protected final PortData port

destination

protected HttpDestination destination

endpoint

protected CxfEndpoint endpoint

httpTransportFactory

protected HttpTransportFactory httpTransportFactory
Constructor Detail

CxfWsContainer

public CxfWsContainer(org.apache.cxf.Bus bus,
                      PortData port)
Method Detail

start

public void start()

createEndpoint

protected abstract CxfEndpoint createEndpoint()

destroy

public void destroy()

onMessage

public void onMessage(HttpRequest request,
                      HttpResponse response)
               throws java.lang.Exception
Specified by:
onMessage in interface HttpListener
Throws:
java.lang.Exception

processGET

protected void processGET(HttpRequest request,
                          HttpResponse response)
                   throws java.lang.Exception
Throws:
java.lang.Exception

processPOST

protected void processPOST(HttpRequest request,
                           HttpResponse response)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getBus

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

getDefaultBus

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


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.