1 11 12 package org.jivesoftware.database; 13 14 import java.sql.Connection ; 15 import java.sql.SQLException ; 16 17 26 public interface ConnectionProvider { 27 28 37 public boolean isPooled(); 38 39 49 public Connection getConnection() throws SQLException ; 50 51 56 public void start(); 57 58 62 public void restart(); 63 64 71 public void destroy(); 72 } | Popular Tags |