org.jboss.cache.loader
Interface ConnectionFactory
- All Known Implementing Classes:
- C3p0ConnectionFactory, ManagedConnectionFactory
public interface ConnectionFactory
ConnectionFactory interface defining the operations to be defined by connection providers
- Author:
- Hany Mesha , Galder Zamarreno
setConfig
void setConfig(AdjListJDBCCacheLoaderConfig config)
start
void start()
throws Exception
- Throws:
Exception
getConnection
Connection getConnection()
throws SQLException
- Throws:
SQLException
prepare
void prepare(Object tx)
commit
void commit(Object tx)
rollback
void rollback(Object tx)
close
void close(Connection con)
stop
void stop()
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.