| org.mule.module.facebook.connection.ConnectionManager<K, C extends org.mule.module.facebook.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 connection pooling profile
| |||||||||||
Retrieve the default connection key
| |||||||||||
Retrieve the reconnection strategy used by this connection
manager.
| |||||||||||
Return a connection to the pool
| |||||||||||
Set the connection pooling profile
| |||||||||||
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 connection pooling profile
Retrieve the default connection key
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 |
|---|
Set the connection pooling profile
| value | PoolingProfile representing the pooling parameters |
|---|