org.apache.openejb.server.cxf
Class CxfWsContainer

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

public abstract class CxfWsContainer
extends Object
implements org.apache.openejb.server.httpd.HttpListener


Field Summary
protected  org.apache.cxf.Bus bus
           
protected  org.apache.cxf.transport.http.AbstractHTTPDestination destination
           
protected  CxfEndpoint endpoint
           
protected  org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory
           
protected  org.apache.openejb.core.webservices.PortData port
           
protected  org.apache.openejb.assembler.classic.util.ServiceConfiguration serviceConfiguration
           
 
Constructor Summary
CxfWsContainer(org.apache.cxf.Bus bus, org.apache.openejb.core.webservices.PortData port, org.apache.openejb.assembler.classic.util.ServiceConfiguration config)
           
 
Method Summary
protected abstract  CxfEndpoint createEndpoint()
           
 void destroy()
           
 void onMessage(org.apache.openejb.server.httpd.HttpRequest request, org.apache.openejb.server.httpd.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 org.apache.openejb.core.webservices.PortData port

destination

protected org.apache.cxf.transport.http.AbstractHTTPDestination destination

endpoint

protected CxfEndpoint endpoint

httpTransportFactory

protected final org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory

serviceConfiguration

protected final org.apache.openejb.assembler.classic.util.ServiceConfiguration serviceConfiguration
Constructor Detail

CxfWsContainer

public CxfWsContainer(org.apache.cxf.Bus bus,
                      org.apache.openejb.core.webservices.PortData port,
                      org.apache.openejb.assembler.classic.util.ServiceConfiguration config)
Method Detail

start

public void start()

createEndpoint

protected abstract CxfEndpoint createEndpoint()

destroy

public void destroy()

onMessage

public void onMessage(org.apache.openejb.server.httpd.HttpRequest request,
                      org.apache.openejb.server.httpd.HttpResponse response)
               throws Exception
Specified by:
onMessage in interface org.apache.openejb.server.httpd.HttpListener
Throws:
Exception


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.