org.gjt.tw.dbobjects
Interface IBroker

All Known Implementing Classes:
ConnectionBroker

public interface IBroker

Database Connection Broker Interface. This provides a template for the wrapper to connection broker classes


Method Summary
 boolean destroy(int milliseconds)
          Description of the Method
 boolean freeConnection(java.sql.Connection conn)
          Description of the Method
 java.sql.Connection getConnection()
          Gets the connection attribute of the IBroker object
 

Method Detail

destroy

public boolean destroy(int milliseconds)
                throws DatabaseException
Description of the Method
Parameters:
milliseconds - Description of Parameter
Returns:
Description of the Returned Value
Throws:
DatabaseException - Description of Exception

freeConnection

public boolean freeConnection(java.sql.Connection conn)
                       throws DatabaseException
Description of the Method
Parameters:
conn - Description of Parameter
Returns:
Description of the Returned Value
Throws:
DatabaseException - Description of Exception

getConnection

public java.sql.Connection getConnection()
                                  throws DatabaseException
Gets the connection attribute of the IBroker object
Returns:
The connection value
Throws:
DatabaseException - Description of Exception