|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DaoRegistry
A registry for DAOs.
| Method Summary | ||
|---|---|---|
|
getDao(Class<T> doaType)
Returns the DAO of a given type. |
|
Map<Class<?>,? extends GenericDao<?>> |
getDaos()
|
|
|
getFor(Class<T> entityType)
Returns the generic DAO for entities of type entityType. |
|
| Method Detail |
|---|
<T> GenericDao<T> getFor(Class<T> entityType)
entityType.
T - The domain class type.entityType - The domain class for which a generic DAO should be returned.
The class does some basic handling to tolerate (i.e. unwrap)
Spring proxies.
<T> T getDao(Class<T> doaType)
T - The DOA class type.doaType - The DAO class type for which the DAO should be returned.
Map<Class<?>,? extends GenericDao<?>> getDaos()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||