Package org.apache.cxf.endpoint
Class PreexistingConduitSelector
java.lang.Object
org.apache.cxf.endpoint.PreexistingConduitSelector
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- ConduitSelector
Strategy for retreival of a pre-existing Conduit to mediate an
 outbound message.
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor.Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voidCalled 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- 
PreexistingConduitSelectorConstructor.- Parameters:
- c- the pre-existing Conduit.
 
- 
PreexistingConduitSelectorConstructor.- Parameters:
- c- the pre-existing Conduit.
- e- the target Endpoint
 
 
- 
- 
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
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
-