Class AbstractDestination

    • Field Detail

      • reference

        protected final org.apache.cxf.ws.addressing.EndpointReferenceType reference
      • bus

        protected final Bus bus
    • Constructor Detail

      • AbstractDestination

        public AbstractDestination​(org.apache.cxf.ws.addressing.EndpointReferenceType ref,
                                   EndpointInfo ei)
      • AbstractDestination

        public AbstractDestination​(Bus b,
                                   org.apache.cxf.ws.addressing.EndpointReferenceType ref,
                                   EndpointInfo ei)
    • Method Detail

      • getAddress

        public org.apache.cxf.ws.addressing.EndpointReferenceType getAddress()
        Specified by:
        getAddress in interface Destination
        Returns:
        the reference associated with this Destination
      • getBackChannel

        public Conduit getBackChannel​(Message inMessage)
                               throws IOException
        Retrieve 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.
        Specified by:
        getBackChannel in interface Destination
        Parameters:
        inMessage - the current inbound message (null to indicate a disassociated back-channel)
        Returns:
        a suitable Conduit
        Throws:
        IOException
      • shutdown

        public void shutdown()
        Shutdown the Destination, i.e. stop accepting incoming messages.
        Specified by:
        shutdown in interface Destination
      • getInbuiltBackChannel

        protected abstract Conduit getInbuiltBackChannel​(Message inMessage)
        Parameters:
        inMessage - the incoming message
        Returns:
        the inbuilt backchannel