|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.endpoint.NullConduitSelector
public class NullConduitSelector
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 | |
---|---|
NullConduitSelector()
|
Method Summary | |
---|---|
void |
complete(Exchange exchange)
Called on completion of the MEP for which the Conduit was required. |
Endpoint |
getEndpoint()
|
void |
prepare(Message message)
Called prior to the interceptor chain being traversed. |
Conduit |
selectConduit(Message message)
Called when a Conduit is actually required. |
void |
setEndpoint(Endpoint ep)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullConduitSelector()
Method Detail |
---|
public void prepare(Message message)
prepare
in interface ConduitSelector
message
- the current Messagepublic Conduit selectConduit(Message message)
selectConduit
in interface ConduitSelector
message
-
public void complete(Exchange exchange)
complete
in interface ConduitSelector
exchange
- represents the completed MEPpublic Endpoint getEndpoint()
getEndpoint
in interface ConduitSelector
public void setEndpoint(Endpoint ep)
setEndpoint
in interface ConduitSelector
ep
- the endpoint to encapsulate
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |