|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Factory object that is responsible for creating, destroying, activating, passivating, and validating Connection objects.
Connection| Method Summary | |
void |
activate(Connection conn)
Activate the Connection |
Connection |
create(ConnectionConfig config)
Create a new Connection |
void |
destroy(Connection conn)
Destroy the Connection Object |
void |
passivate(Connection conn)
Passivate the Connection |
boolean |
validate(Connection conn)
Validate the Connection object |
| Methods inherited from interface com.cafesoft.core.util.Debuggable |
setDebug |
| Methods inherited from interface com.cafesoft.core.log.LoggerClient |
setLogger |
| Method Detail |
public Connection create(ConnectionConfig config)
throws SQLException
config - the Configuration object for this Connection
SQLException - thrown if error occurs creating a Connection
public void destroy(Connection conn)
throws SQLException
conn - the Connection to destroy
SQLException - thrown if error occurs destroying Connection
public void passivate(Connection conn)
throws SQLException
conn - the Connection object to Passivate
SQLException - thrown if error occurs passivating the Connectionpublic void activate(Connection conn)
conn - the Connection to activatepublic boolean validate(Connection conn)
conn - the Connection object to validate
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||