public class ManagedConnectionFactory extends ConnectionFactory
| Constructor and Description |
|---|
ManagedConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection()
Fetches a connection from the factory.
|
void |
releaseConnection(Connection conn)
Destroys a connection.
|
void |
start(ConnectionFactoryConfiguration factoryConfiguration,
ClassLoader classLoader)
Starts the connection factory.
|
void |
stop()
Closes the connection factory, including all allocated connections etc.
|
getConnectionFactory, getConnectionFactorypublic void start(ConnectionFactoryConfiguration factoryConfiguration, ClassLoader classLoader) throws CacheLoaderException
ConnectionFactorystart in class ConnectionFactoryCacheLoaderExceptionpublic void stop()
ConnectionFactorystop in class ConnectionFactorypublic Connection getConnection() throws CacheLoaderException
ConnectionFactorygetConnection in class ConnectionFactoryCacheLoaderExceptionpublic void releaseConnection(Connection conn)
ConnectionFactoryreleaseConnection in class ConnectionFactoryCopyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.