Debug session thread and socket leak fixed:
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / sql / ConnectionEstablisher.java
1 package com.quantum.sql;
2
3 import java.sql.Connection;
4 import java.sql.SQLException;
5
6 import com.quantum.model.Bookmark;
7 import com.quantum.model.ConnectionException;
8 import com.quantum.model.PasswordFinder;
9
10 /**
11  * @author BC
12  */
13 public interface ConnectionEstablisher {
14     
15     public Connection connect(Bookmark bookmark, PasswordFinder passwordFinder) 
16         throws ConnectionException;
17     public void disconnect(Connection connection)
18         throws SQLException;
19
20 }