Connection - the generic type of the connection being managed by this instancepublic interface ConnectionHandlingStrategy<Connection>
For example, whether connections should be pooled, tied to an OAuth token, cached, etc.
| Modifier and Type | Method and Description |
|---|---|
ConnectionHandler<Connection> |
getConnectionHandler()
Wraps a connection into a
ConnectionHandler and returns it. |
ConnectionHandler<Connection> getConnectionHandler() throws ConnectionException
ConnectionHandler and returns it.
This method is to be assumed thread-safe, but no assumptions should be made
on whether each invokation returns the same ConnectionHandler or if
that return value is wrapping the same underlying Connection instance.ConnectionHandlerConnectionException - if an exception was found trying to obtain the connectionCopyright © 2016 MuleSoft, Inc.. All rights reserved.