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
Strategy for eager upfront retreival of a Conduit to mediate an
outbound message.
-
Field Summary
Fields inherited from class org.apache.cxf.endpoint.AbstractConduitSelector
CONDUIT_COMPARE_FULL_URL, conduits, endpoint, KEEP_CONDUIT_ALIVE
-
Constructor Summary
ConstructorDescriptionNormal constructor.Constructor, allowing a specific conduit to override normal selection. -
Method Summary
Methods inherited from class org.apache.cxf.endpoint.AbstractConduitSelector
close, complete, createConduit, findCompatibleConduit, getEndpoint, getSelectedConduit, removeConduit, replaceEndpointAddressPropertyIfNeeded, setEndpoint
-
Constructor Details
-
UpfrontConduitSelector
public UpfrontConduitSelector()Normal constructor. -
UpfrontConduitSelector
Constructor, allowing a specific conduit to override normal selection.- Parameters:
c
- specific conduit
-
-
Method Details
-
prepare
Called prior to the interceptor chain being traversed.- Parameters:
message
- the current Message
-
selectConduit
Called when a Conduit is actually required.- Parameters:
message
-- Returns:
- the Conduit to use for mediation of the message
-
getLogger
- Specified by:
getLogger
in classAbstractConduitSelector
- Returns:
- the logger to use
-