public interface UniversalConnectionPoolAdapter
A Universal Connection Pool Adapter extends Universal Connection Pool to provide resource-specific functionality. The Universal Connection Pool Adapter is tightly coupled with the connection factory adapter and provides resource-specific implementations of the pooled connections.
This interface defines standard operations that a Universal Connection Pool Adapter supports.
| Modifier and Type | Method and Description |
|---|---|
UniversalConnectionPool |
createUniversalConnectionPool()
Creates a Universal Connection Pool instance using this adapter.
|
UniversalConnectionPoolMBean |
createUniversalConnectionPoolMBean()
Creates a Universal Connection Pool MBean using this adapter.
|
UniversalConnectionPool createUniversalConnectionPool() throws java.lang.Exception
This method should not register the created pool instance with the
Universal Connection Pool Manager. The createConnectionPool
method on UniversalConnectionPoolManager is responsible
for that.
java.lang.Exception - If any error occurs during the process of connection
pool creation.UniversalConnectionPoolManagerUniversalConnectionPoolMBean createUniversalConnectionPoolMBean() throws java.lang.Exception
This method should not register the created pool MBean with the
MBean server. The createConnectionPool operation on
UniversalConnectionPoolManagerMBean is responsible for that.
java.lang.Exception - If any error occurs during the process of connection
pool creation.UniversalConnectionPoolManagerMBean