Apache CXF API

org.apache.cxf.transport.http_osgi
Class OsgiDestination

java.lang.Object
  extended by org.apache.cxf.transport.AbstractObservable
      extended by org.apache.cxf.transport.AbstractDestination
          extended by org.apache.cxf.transport.AbstractMultiplexDestination
              extended by org.apache.cxf.transport.http.AbstractHTTPDestination
                  extended by org.apache.cxf.transport.http_osgi.OsgiDestination
All Implemented Interfaces:
Configurable, Destination, DestinationWithEndpoint, MultiplexDestination, Observable, Assertor

public class OsgiDestination
extends AbstractHTTPDestination


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
AbstractHTTPDestination.BackChannelConduit
 
Nested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination
AbstractDestination.AbstractBackChannelConduit
 
Field Summary
 
Fields inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
bus, certConstraints, contextMatchStrategy, CXF_ASYNC_CONTEXT, CXF_CONTINUATION_MESSAGE, fixedParameterOrder, HTTP_CONFIG, HTTP_CONTEXT, HTTP_REQUEST, HTTP_RESPONSE, isServlet3, multiplexWithAddress, PROTOCOL_HEADERS_CONTENT_TYPE, REQUEST_REDIRECTED, RESPONSE_COMMITED, RESPONSE_HEADERS_COPIED, server
 
Fields inherited from class org.apache.cxf.transport.AbstractDestination
endpointInfo, reference
 
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
 
Constructor Summary
OsgiDestination(Bus b, EndpointInfo ei, OsgiDestinationRegistryIntf fact, String p)
          Constructor, allowing substitution of configuration.
 
Method Summary
protected  void doMessage(MessageImpl inMessage)
           
protected  Bus getBus()
           
protected  Logger getLogger()
           
 void shutdown()
          Shutdown the Destination, i.e.
 
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
assertMessage, canAssert, contextMatchOnExact, copyRequestHeaders, copyResponseHeaders, flushHeaders, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBasePath, getBeanName, getContextMatchStrategy, getId, getInbuiltBackChannel, getServer, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, retrieveFromContinuation, retrieveFromServlet3Async, setContextMatchStrategy, setFixedParameterOrder, setHeaders, setMultiplexWithAddress, setServer, setupContinuation, setupMessage, setupMessage, updateResponseHeaders
 
Methods inherited from class org.apache.cxf.transport.AbstractDestination
getAddress, getBackChannel, getEndpointInfo
 
Methods inherited from class org.apache.cxf.transport.AbstractObservable
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.transport.Destination
getAddress, getBackChannel, getMessageObserver
 
Methods inherited from interface org.apache.cxf.transport.Observable
setMessageObserver
 

Constructor Detail

OsgiDestination

public OsgiDestination(Bus b,
                       EndpointInfo ei,
                       OsgiDestinationRegistryIntf fact,
                       String p)
                throws IOException
Constructor, allowing substitution of configuration.

Parameters:
b - the associated Bus
ci - the associated conduit initiator
ei - the endpoint info of the destination
fact - the transport factory
p - the path
Throws:
IOException
Method Detail

getLogger

protected Logger getLogger()
Specified by:
getLogger in class AbstractObservable
Returns:
the logger to use

getBus

protected Bus getBus()

doMessage

protected void doMessage(MessageImpl inMessage)
                  throws IOException
Throws:
IOException

shutdown

public void shutdown()
Description copied from class: AbstractDestination
Shutdown the Destination, i.e. stop accepting incoming messages.

Specified by:
shutdown in interface Destination
Overrides:
shutdown in class AbstractDestination

Apache CXF API

Apache CXF