public interface ConnectionPoolingSupport
A contract that all database related resource components should obey to.
Results of calls to supportsConnectionPooling() and getPooledConnectionProvider()
MUST be consistent.
In practice, a top level server database component should be able to create a PooledConnectionProvider
instance, and child servers and services should indicate they support connection pooling only if their parent
component does.
| Modifier and Type | Method and Description |
|---|---|
PooledConnectionProvider |
getPooledConnectionProvider() |
boolean |
supportsConnectionPooling() |
boolean supportsConnectionPooling()
PooledConnectionProvider, false otherwise.PooledConnectionProvider getPooledConnectionProvider()
PooledConnectionProvider or null if this component does not support connection
pooling.supportsConnectionPooling()Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.