org.mule.module.linkedin.connection.ConnectionManager<K, C extends org.mule.module.linkedin.connection.Connection> |
Wrapper around org.mule.api.annotations.Connector annotated class that will infuse it with connection management capabilities.
It can receive a org.mule.config.PoolingProfile which is a configuration object used to define the connection pooling parameters.Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Borrow a connection from the pool
| |||||||||||
Destroy a connection
| |||||||||||
Retrieve the default connection key
| |||||||||||
Retrieve the connection key evaluated with the received mule event
| |||||||||||
Retrieve the reconnection strategy used by this connection
manager.
| |||||||||||
Return a connection to the pool
|
Borrow a connection from the pool
connectorKey | Key used to borrow the connector |
---|
Exception | If the connection cannot be created |
---|
Destroy a connection
connectorKey | Key used to borrow the connector |
---|---|
connector | Connector to be destroyed |
Exception | If the connection could not be destroyed. |
---|
Retrieve the default connection key
Retrieve the connection key evaluated with the received mule event
event |
---|
Exception |
---|
Retrieve the reconnection strategy used by this connection manager.
Return a connection to the pool
connectorKey | Key used to borrow the connector |
---|---|
connector | Connector to be returned to the pool |
Exception | If the connection cannot be returned |
---|