org.apache.cxf.transport
Class AbstractConduit

java.lang.Object
  extended by org.apache.cxf.transport.AbstractObservable
      extended by org.apache.cxf.transport.AbstractConduit
All Implemented Interfaces:
org.apache.cxf.transport.Conduit, org.apache.cxf.transport.Observable
Direct Known Subclasses:
AbstractDestination.AbstractBackChannelConduit

public abstract class AbstractConduit
extends AbstractObservable
implements org.apache.cxf.transport.Conduit

Abstract base class factoring out common Conduit logic, allowing non-decoupled transports to be written without any regard for the decoupled back-channel or partial response logic.


Field Summary
protected  org.apache.cxf.ws.addressing.EndpointReferenceType target
           
 
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
 
Constructor Summary
AbstractConduit(org.apache.cxf.ws.addressing.EndpointReferenceType t)
           
 
Method Summary
 void close()
          Close the conduit.
 void close(org.apache.cxf.message.Message msg)
           
 org.apache.cxf.ws.addressing.EndpointReferenceType getTarget()
           
 String toString()
           
 
Methods inherited from class org.apache.cxf.transport.AbstractObservable
activate, deactivate, getLogger, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.transport.Conduit
prepare
 
Methods inherited from interface org.apache.cxf.transport.Observable
getMessageObserver, setMessageObserver
 

Field Detail

target

protected final org.apache.cxf.ws.addressing.EndpointReferenceType target
Constructor Detail

AbstractConduit

public AbstractConduit(org.apache.cxf.ws.addressing.EndpointReferenceType t)
Method Detail

getTarget

public org.apache.cxf.ws.addressing.EndpointReferenceType getTarget()
Specified by:
getTarget in interface org.apache.cxf.transport.Conduit
Returns:
the reference associated with the target Destination

close

public void close(org.apache.cxf.message.Message msg)
           throws IOException
Specified by:
close in interface org.apache.cxf.transport.Conduit
Parameters:
message - for which content should be closed.
Throws:
IOException

close

public void close()
Close the conduit.

Specified by:
close in interface org.apache.cxf.transport.Conduit

toString

public String toString()
Overrides:
toString in class Object


Apache CXF