Clover coverage report -
Coverage timestamp: Thu Jul 5 2007 20:02:32 EDT
file stats: LOC: 35   Methods: 0
NCLOC: 14   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ConnectionFactory.java - - - -
coverage
 1    /*
 2    * JBoss, the OpenSource J2EE webOS
 3    *
 4    * Distributable under LGPL license.
 5    * See terms of license at gnu.org.
 6    */
 7    package org.jboss.cache.loader;
 8   
 9    import java.sql.Connection;
 10    import java.sql.SQLException;
 11   
 12    /**
 13    * ConnectionFactory interface defining the operations to be defined by connection providers
 14    *
 15    * @author <a href="mailto:hmesha@novell.com">Hany Mesha </a>
 16    * @author <a href="mailto:galder.zamarreno@jboss.com">Galder Zamarreno</a>
 17    */
 18    public interface ConnectionFactory
 19    {
 20    void setConfig(AdjListJDBCCacheLoaderConfig config);
 21   
 22    void start() throws Exception;
 23   
 24    Connection getConnection() throws SQLException;
 25   
 26    void prepare(Object tx);
 27   
 28    void commit(Object tx);
 29   
 30    void rollback(Object tx);
 31   
 32    void close(Connection con);
 33   
 34    void stop();
 35    }