public class PreexistingConduitSelector extends Object implements ConduitSelector, Closeable
| Constructor and Description |
|---|
PreexistingConduitSelector(Conduit c)
Constructor.
|
PreexistingConduitSelector(Conduit c,
Endpoint e)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
public PreexistingConduitSelector(Conduit c)
c - the pre-existing Conduit.public void prepare(Message message)
prepare in interface ConduitSelectormessage - the current Messagepublic Conduit selectConduit(Message message)
selectConduit in interface ConduitSelectormessage - public void complete(Exchange exchange)
complete in interface ConduitSelectorexchange - represents the completed MEPpublic Endpoint getEndpoint()
getEndpoint in interface ConduitSelectorpublic void setEndpoint(Endpoint ep)
setEndpoint in interface ConduitSelectorep - the endpoint to encapsulatepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionApache CXF