Alignment API and Server 3.6

fr.inrialpes.exmo.align.service
Interface DBService

All Known Implementing Classes:
DBServiceImpl

public interface DBService


Method Summary
 void close()
           
 void connect(String password)
           
 void connect(String user, String password)
           
 void connect(String port, String user, String password)
           
 void connect(String IPAdress, String port, String user, String password)
           
 void connect(String IPAdress, String port, String user, String password, String database)
           
 Connection getConnection()
           
 void init()
           
 Connection reconnect()
           
 

Method Detail

init

void init()

connect

void connect(String password)
             throws SQLException
Throws:
SQLException

connect

void connect(String user,
             String password)
             throws SQLException
Throws:
SQLException

connect

void connect(String port,
             String user,
             String password)
             throws SQLException
Throws:
SQLException

connect

void connect(String IPAdress,
             String port,
             String user,
             String password)
             throws SQLException
Throws:
SQLException

connect

void connect(String IPAdress,
             String port,
             String user,
             String password,
             String database)
             throws SQLException
Throws:
SQLException

getConnection

Connection getConnection()
                         throws SQLException
Throws:
SQLException

reconnect

Connection reconnect()
                     throws SQLException
Throws:
SQLException

close

void close()

Alignment API and Server 3.6

(C) INRIA & friends, 2003-2008