| java.lang.Object org.apache.cxf.transport.AbstractObservable org.apache.cxf.transport.AbstractDestination
All known Subclasses: org.apache.cxf.transport.AbstractMultiplexDestination,
AbstractDestination | abstract public class AbstractDestination extends AbstractObservable implements Destination(Code) | | Abstract base class factoring out common Destination logic,
allowing non-decoupled transports to be written without any
regard for the decoupled back-channel or partial response logic.
|
Inner Class :abstract protected class AbstractBackChannelConduit extends AbstractConduit | |
Field Summary | |
final protected Bus | bus | final protected EndpointInfo | endpointInfo | final protected EndpointReferenceType | reference |
Method Summary | |
public EndpointReferenceType | getAddress() | public Conduit | getBackChannel(Message inMessage, Message partialResponse, EndpointReferenceType address) Retreive a back-channel Conduit, which must be policy-compatible
with the current Message and associated Destination. | protected ConduitInitiator | getConduitInitiator() | abstract protected Conduit | getInbuiltBackChannel(Message inMessage) | protected boolean | markPartialResponse(Message partialResponse, EndpointReferenceType decoupledTarget) Mark message as a partial message. | public void | shutdown() Shutdown the Destination, i.e. |
bus | final protected Bus bus(Code) | | |
endpointInfo | final protected EndpointInfo endpointInfo(Code) | | |
reference | final protected EndpointReferenceType reference(Code) | | |
AbstractDestination | public AbstractDestination(EndpointReferenceType ref, EndpointInfo ei)(Code) | | |
AbstractDestination | public AbstractDestination(Bus b, EndpointReferenceType ref, EndpointInfo ei)(Code) | | |
getAddress | public EndpointReferenceType getAddress()(Code) | | the reference associated with this Destination |
getBackChannel | public Conduit getBackChannel(Message inMessage, Message partialResponse, EndpointReferenceType address) throws IOException(Code) | | Retreive a back-channel Conduit, which must be policy-compatible
with the current Message and associated Destination. For example
compatible Quality of Protection must be asserted on the back-channel.
This would generally only be an issue if the back-channel is decoupled.
Parameters: inMessage - the current inbound message (null to indicate a disassociated back-channel) Parameters: partialResponse - in the decoupled case, this is expected to be theoutbound Message to be sent over the in-built back-channel. Parameters: address - the backchannel address (null to indicate anonymous) a suitable Conduit |
getConduitInitiator | protected ConduitInitiator getConduitInitiator()(Code) | | the associated conduit initiator, or null if decoupled modenot supported. |
getInbuiltBackChannel | abstract protected Conduit getInbuiltBackChannel(Message inMessage)(Code) | | Parameters: inMessage - the incoming message the inbuilt backchannel |
markPartialResponse | protected boolean markPartialResponse(Message partialResponse, EndpointReferenceType decoupledTarget)(Code) | | Mark message as a partial message. Only required if decoupled
mode is supported.
Parameters: partialResponse - the partial response message Parameters: the - decoupled target true iff partial responses are supported |
shutdown | public void shutdown()(Code) | | Shutdown the Destination, i.e. stop accepting incoming messages.
|
Fields inherited from org.apache.cxf.transport.AbstractObservable | protected MessageObserver incomingObserver(Code)(Java Doc)
|
|
|