|
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.PreexistingConduitSelector
public class PreexistingConduitSelector
Strategy for retreival of a pre-existing Conduit to mediate an outbound message.
Constructor Summary | |
---|---|
PreexistingConduitSelector(Conduit c)
Constructor. |
|
PreexistingConduitSelector(Conduit c,
Endpoint e)
Constructor. |
Method Summary | |
---|---|
void |
close()
|
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 PreexistingConduitSelector(Conduit c)
c
- the pre-existing Conduit.public PreexistingConduitSelector(Conduit c, Endpoint e)
c
- the pre-existing Conduit.e
- the target EndpointMethod 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 encapsulatepublic void close() throws IOException
close
in interface Closeable
IOException
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |