Package org.apache.cxf.endpoint
Class NullConduitSelector
java.lang.Object
org.apache.cxf.endpoint.NullConduitSelector
- All Implemented Interfaces:
- ConduitSelector
Strategy for null Conduit retrieval.
 An instance of this class is set on the Exchange to clear
 the current ConduitSelector, as a work-around for broken
 Exchange.remove(ConduitSelector.class) semantics.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidCalled on completion of the MEP for which the Conduit was required.voidCalled prior to the interceptor chain being traversed.selectConduit(Message message) Called when a Conduit is actually required.voidsetEndpoint(Endpoint ep) 
- 
Constructor Details- 
NullConduitSelectorpublic NullConduitSelector()
 
- 
- 
Method Details- 
prepareCalled prior to the interceptor chain being traversed.- Specified by:
- preparein interface- ConduitSelector
- Parameters:
- message- the current Message
 
- 
selectConduitCalled when a Conduit is actually required.- Specified by:
- selectConduitin interface- ConduitSelector
- Parameters:
- message-
- Returns:
- the Conduit to use for mediation of the message
 
- 
completeCalled on completion of the MEP for which the Conduit was required.- Specified by:
- completein interface- ConduitSelector
- Parameters:
- exchange- represents the completed MEP
 
- 
getEndpoint- Specified by:
- getEndpointin interface- ConduitSelector
- Returns:
- the encapsulated Endpoint
 
- 
setEndpoint- Specified by:
- setEndpointin interface- ConduitSelector
- Parameters:
- ep- the endpoint to encapsulate
 
 
-