|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the DAO typepublic interface DaoRegister<T>
The DAO Register
Makes it possible to retrieve a default unnamed DAO or one or more named DAO's.
DAO's retrieved from a DaoRegister should always be returned
to the DaoRegister by calling the returnDao(Object)
method.
| Method Summary | |
|---|---|
T |
getDao(java.lang.String name)
Returns the DAO with the specified name. |
T |
getDefaultDao()
Returns the default DAO . |
void |
returnDao(T dao)
Returns the DAO to the register. |
| Method Detail |
|---|
T getDefaultDao()
java.lang.UnsupportedOperationException - if the getDao() operation is
not supported by this DaoRegister.T getDao(java.lang.String name)
name - the name of the DAO
java.lang.UnsupportedOperationException - if the getDao(String) operation is
not supported by this DaoRegister.void returnDao(T dao)
dao - the DAO to return
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||