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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called on completion of the MEP for which the Conduit was required.void
Called prior to the interceptor chain being traversed.selectConduit
(Message message) Called when a Conduit is actually required.void
setEndpoint
(Endpoint ep)
-
Constructor Details
-
NullConduitSelector
public NullConduitSelector()
-
-
Method Details
-
prepare
Called prior to the interceptor chain being traversed.- Specified by:
prepare
in interfaceConduitSelector
- Parameters:
message
- the current Message
-
selectConduit
Called when a Conduit is actually required.- Specified by:
selectConduit
in interfaceConduitSelector
- Parameters:
message
-- Returns:
- the Conduit to use for mediation of the message
-
complete
Called on completion of the MEP for which the Conduit was required.- Specified by:
complete
in interfaceConduitSelector
- Parameters:
exchange
- represents the completed MEP
-
getEndpoint
- Specified by:
getEndpoint
in interfaceConduitSelector
- Returns:
- the encapsulated Endpoint
-
setEndpoint
- Specified by:
setEndpoint
in interfaceConduitSelector
- Parameters:
ep
- the endpoint to encapsulate
-