|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PoolableConnectionFactory
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 |
|---|
Connection create(ConnectionConfig config)
throws SQLException
config - the Configuration object for this Connection
SQLException - thrown if error occurs creating a Connection
void destroy(Connection conn)
throws SQLException
conn - the Connection to destroy
SQLException - thrown if error occurs destroying Connection
void passivate(Connection conn)
throws SQLException
conn - the Connection object to Passivate
SQLException - thrown if error occurs passivating the Connectionvoid activate(Connection conn)
conn - the Connection to activateboolean 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 | |||||||||