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, getConnectionFactory
public void start(ConnectionFactoryConfiguration factoryConfiguration, ClassLoader classLoader) throws CacheLoaderException
ConnectionFactory
start
in class ConnectionFactory
CacheLoaderException
public void stop()
ConnectionFactory
stop
in class ConnectionFactory
public Connection getConnection() throws CacheLoaderException
ConnectionFactory
getConnection
in class ConnectionFactory
CacheLoaderException
public void releaseConnection(Connection conn)
ConnectionFactory
releaseConnection
in class ConnectionFactory
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.