|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionFactory
Interface for creation of new JDBC Connection instances.
| Method Summary | |
|---|---|
CastorConnection |
createCastorConnection()
Creates a new CastorConnection instance. |
Connection |
createConnection()
Creates a new JDBC Connection instance. |
void |
initializeFactory(PersistenceFactory factory)
Initialize the concrete factory. |
| Method Detail |
|---|
void initializeFactory(PersistenceFactory factory)
throws MappingException
factory - PersistenceFactory needed to construct CastorConnection.
MappingException - If concrete factory could not be initialized.
Connection createConnection()
throws SQLException
SQLException - If the JDBC connection cannot be created.
CastorConnection createCastorConnection()
throws SQLException
SQLException - If the CastorConnection cannot be created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||