Package org.apache.cxf.endpoint
Class UpfrontConduitSelector
- java.lang.Object
- 
- org.apache.cxf.endpoint.AbstractConduitSelector
- 
- org.apache.cxf.endpoint.UpfrontConduitSelector
 
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- ConduitSelector
 
 public class UpfrontConduitSelector extends AbstractConduitSelector Strategy for eager upfront retreival of a Conduit to mediate an outbound message.
- 
- 
Field Summary- 
Fields inherited from class org.apache.cxf.endpoint.AbstractConduitSelectorCONDUIT_COMPARE_FULL_URL, conduits, endpoint, KEEP_CONDUIT_ALIVE
 
- 
 - 
Constructor SummaryConstructors Constructor Description UpfrontConduitSelector()Normal constructor.UpfrontConduitSelector(Conduit c)Constructor, allowing a specific conduit to override normal selection.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LoggergetLogger()voidprepare(Message message)Called prior to the interceptor chain being traversed.ConduitselectConduit(Message message)Called when a Conduit is actually required.- 
Methods inherited from class org.apache.cxf.endpoint.AbstractConduitSelectorclose, complete, createConduit, findCompatibleConduit, getEndpoint, getSelectedConduit, removeConduit, replaceEndpointAddressPropertyIfNeeded, setEndpoint
 
- 
 
- 
- 
- 
Constructor Detail- 
UpfrontConduitSelectorpublic UpfrontConduitSelector() Normal constructor.
 - 
UpfrontConduitSelectorpublic UpfrontConduitSelector(Conduit c) Constructor, allowing a specific conduit to override normal selection.- Parameters:
- c- specific conduit
 
 
- 
 - 
Method Detail- 
preparepublic void prepare(Message message) Called prior to the interceptor chain being traversed.- Parameters:
- message- the current Message
 
 - 
selectConduitpublic Conduit selectConduit(Message message) Called when a Conduit is actually required.- Parameters:
- message-
- Returns:
- the Conduit to use for mediation of the message
 
 - 
getLoggerprotected Logger getLogger() - Specified by:
- getLoggerin class- AbstractConduitSelector
- Returns:
- the logger to use
 
 
- 
 
-