|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.loaders.jdbc.connectionfactory.ConnectionFactory
public abstract class ConnectionFactory
Defines the functionality a connection factory should implement.
Constructor Summary | |
---|---|
ConnectionFactory()
|
Method Summary | |
---|---|
abstract Connection |
getConnection()
Fetches a connection from the factory. |
static ConnectionFactory |
getConnectionFactory(String connectionFactoryClass)
Constructs a ConnectionFactory based on the supplied class
name. |
abstract void |
releaseConnection(Connection conn)
Destroys a connection. |
abstract void |
start(ConnectionFactoryConfig config)
Starts the connection factory. |
abstract void |
stop()
Closes the connection factory, including all allocated connections etc. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionFactory()
Method Detail |
---|
public static ConnectionFactory getConnectionFactory(String connectionFactoryClass) throws CacheLoaderException
ConnectionFactory
based on the supplied class
name.
CacheLoaderException
public abstract void start(ConnectionFactoryConfig config) throws CacheLoaderException
CacheLoaderException
public abstract void stop()
public abstract Connection getConnection() throws CacheLoaderException
CacheLoaderException
public abstract void releaseConnection(Connection conn)
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |