public abstract class AbstractConduitSelector extends Object implements ConduitSelector, Closeable
| Modifier and Type | Field and Description |
|---|---|
protected Endpoint |
endpoint |
protected static String |
KEEP_CONDUIT_ALIVE |
protected Conduit |
selectedConduit |
| Constructor and Description |
|---|
AbstractConduitSelector(Conduit c)
Constructor, allowing a specific conduit to override normal selection.
|
| 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() |
protected abstract Logger |
getLogger() |
protected Conduit |
getSelectedConduit(Message message)
Mechanics to actually get the Conduit from the ConduitInitiator
if necessary.
|
protected void |
replaceEndpointAddressPropertyIfNeeded(Message message,
String endpointAddress) |
void |
setEndpoint(Endpoint ep) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprepare, selectConduitprotected static final String KEEP_CONDUIT_ALIVE
protected Conduit selectedConduit
protected Endpoint endpoint
public AbstractConduitSelector(Conduit c)
c - specific conduitpublic void close()
close in interface Closeableclose in interface AutoCloseableprotected Conduit getSelectedConduit(Message message)
message - the current Messageprotected void replaceEndpointAddressPropertyIfNeeded(Message message, String endpointAddress)
public Endpoint getEndpoint()
getEndpoint in interface ConduitSelectorpublic void setEndpoint(Endpoint ep)
setEndpoint in interface ConduitSelectorep - the endpoint to encapsulatepublic void complete(Exchange exchange)
complete in interface ConduitSelectorexchange - represents the completed MEPprotected abstract Logger getLogger()
Apache CXF