org.jboss.cache.loader
Class ManagedConnectionFactory
java.lang.Object
org.jboss.cache.loader.ManagedConnectionFactory
- All Implemented Interfaces:
- ConnectionFactory
public class ManagedConnectionFactory
- extends 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 Exception
- Specified by:
start
in interface ConnectionFactory
- Throws:
Exception
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection
in interface ConnectionFactory
- Throws:
SQLException
prepare
public void prepare(Object txId)
- Specified by:
prepare
in interface ConnectionFactory
commit
public void commit(Object txId)
- Specified by:
commit
in interface ConnectionFactory
rollback
public void rollback(Object txId)
- Specified by:
rollback
in interface ConnectionFactory
close
public void close(Connection con)
- Specified by:
close
in interface ConnectionFactory
stop
public void stop()
- Specified by:
stop
in interface ConnectionFactory
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.