|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGenericDaoFactory
Method Summary | |
---|---|
IGenericDao |
createDao(java.sql.Connection connection)
Creates an IGenericDao instance that will use the given connection
to do it's work. |
IGenericDao |
createDao(java.sql.Connection connection,
IPersistenceConfiguration configuration)
Creates an IGenericDao instance that will use the given
connection and IPersistenceConfiguration instance to do it's work. |
IGenericDao |
createDao(java.sql.Connection connection,
java.lang.Object configKey)
Creates an IGenericDao instance that uses the given connection and the persistence configuration stored by the given key in the persistence configuration factory. |
Method Detail |
---|
IGenericDao createDao(java.sql.Connection connection)
IGenericDao
instance that will use the given connection
to do it's work.
connection
- The connection the generic dao is to use.
IGenericDao
instance.IGenericDao createDao(java.sql.Connection connection, IPersistenceConfiguration configuration)
IGenericDao
instance that will use the given
connection and IPersistenceConfiguration
instance to do it's work.
For more information on persistence configurations see the
IPersistenceConfiguration
interface JavaDoc.
connection
- The connection the generic dao is to use.configuration
- The persistence configuration the dao is to use.
IGenericDao
instance.IGenericDao createDao(java.sql.Connection connection, java.lang.Object configKey)
connection
- The connection the generic dao is to use.configKey
- The key of the persistence configuration to use / create and use.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |