1 7 8 package javax.sql; 9 10 import java.sql.Connection ; 11 import java.sql.SQLException ; 12 13 58 59 public interface PooledConnection { 60 61 74 Connection getConnection() throws SQLException ; 75 76 86 void close() throws SQLException ; 87 88 98 void addConnectionEventListener(ConnectionEventListener listener); 99 100 112 void removeConnectionEventListener(ConnectionEventListener listener); 113 114 } 115 | Popular Tags |