Package org.apache.cxf.transport
Interface Destination
- All Superinterfaces:
Observable
- All Known Subinterfaces:
MultiplexDestination
- All Known Implementing Classes:
AbstractDestination
,AbstractMultiplexDestination
A Destination is a transport-level endpoint capable of receiving
unsolicited incoming messages from different peers.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.cxf.ws.addressing.EndpointReferenceType
getBackChannel
(Message inMessage) Retreive a back-channel Conduit, which must be policy-compatible with the current Message and associated Destination.Retrieves the message observer for incoming messagesvoid
shutdown()
Shutdown the Destination, i.e.Methods inherited from interface org.apache.cxf.transport.Observable
setMessageObserver
-
Method Details
-
getAddress
org.apache.cxf.ws.addressing.EndpointReferenceType getAddress()- Returns:
- the reference associated with this Destination
-
getBackChannel
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.- Parameters:
inMessage
- the current message- Returns:
- a suitable Conduit
- Throws:
IOException
-
shutdown
void shutdown()Shutdown the Destination, i.e. stop accepting incoming messages. -
getMessageObserver
MessageObserver getMessageObserver()Description copied from interface:Observable
Retrieves the message observer for incoming messages- Specified by:
getMessageObserver
in interfaceObservable
- Returns:
- the MessageObserver for incoming messages
-