org.jboss.cache.loader
Class ManagedConnectionFactory
java.lang.Object
org.jboss.cache.loader.ManagedConnectionFactory
- All Implemented Interfaces:
- ConnectionFactory
public class ManagedConnectionFactory
- extends java.lang.Object
- implements ConnectionFactory
ManagedConnectionFactory for Application Server managed environments
- Author:
- Hany Mesha , Galder Zamarreno
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedConnectionFactory
public ManagedConnectionFactory()
setConfig
public void setConfig(AdjListJDBCCacheLoaderConfig config)
- Specified by:
setConfig
in interface ConnectionFactory
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface ConnectionFactory
- Throws:
java.lang.Exception
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException
- Specified by:
getConnection
in interface ConnectionFactory
- Throws:
java.sql.SQLException
prepare
public void prepare(java.lang.Object txId)
- Specified by:
prepare
in interface ConnectionFactory
commit
public void commit(java.lang.Object txId)
- Specified by:
commit
in interface ConnectionFactory
rollback
public void rollback(java.lang.Object txId)
- Specified by:
rollback
in interface ConnectionFactory
close
public void close(java.sql.Connection con)
- Specified by:
close
in interface ConnectionFactory
stop
public void stop()
- Specified by:
stop
in interface ConnectionFactory