|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lambico.test.spring.hibernate.DaoUtils
public final class DaoUtils
Utils for the DAO tools.
| Method Summary | |
|---|---|
static GenericDaoBase |
getDaoFor(java.lang.Class daoEntityType,
org.springframework.beans.factory.ListableBeanFactory beanFactory)
Get the DAO for the specific entity class type. |
static java.util.Map<java.lang.String,java.lang.Object> |
getDaos(org.springframework.beans.factory.ListableBeanFactory beanFactory)
Return a map of DAOs from a bean container. |
static boolean |
isDao(java.lang.Object o)
Check if an object is a DAO. |
static boolean |
isDaoFor(java.lang.Object o,
java.lang.Class daoEntityType)
Check if an object is a DAO for a specific entity class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Map<java.lang.String,java.lang.Object> getDaos(org.springframework.beans.factory.ListableBeanFactory beanFactory)
beanFactory - The bean container.
public static boolean isDao(java.lang.Object o)
o - The object to check.
public static boolean isDaoFor(java.lang.Object o,
java.lang.Class daoEntityType)
o - The object to check.daoEntityType - The entity class type.
public static GenericDaoBase getDaoFor(java.lang.Class daoEntityType,
org.springframework.beans.factory.ListableBeanFactory beanFactory)
daoEntityType - The entity class type.beanFactory - The context in wich searching for the DAO.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||