Class DeferredConduitSelector

java.lang.Object
org.apache.cxf.endpoint.AbstractConduitSelector
org.apache.cxf.endpoint.DeferredConduitSelector
All Implemented Interfaces:
Closeable, AutoCloseable, ConduitSelector

public class DeferredConduitSelector extends AbstractConduitSelector
Strategy for lazy deferred retreival of a Conduit to mediate an outbound message.
  • Constructor Details

    • DeferredConduitSelector

      public DeferredConduitSelector()
      Normal constructor.
    • DeferredConduitSelector

      public DeferredConduitSelector(Conduit c)
      Constructor, allowing a specific conduit to override normal selection.
      Parameters:
      c - specific conduit
  • Method Details

    • prepare

      public void prepare(Message message)
      Called prior to the interceptor chain being traversed.
      Parameters:
      message - the current Message
    • selectConduit

      public Conduit selectConduit(Message message)
      Called when a Conduit is actually required.
      Parameters:
      message -
      Returns:
      the Conduit to use for mediation of the message
    • getLogger

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