se.unlogic.standardutils.dao
Class SimpleAnnotatedDAOFactory
java.lang.Object
se.unlogic.standardutils.dao.SimpleAnnotatedDAOFactory
- All Implemented Interfaces:
- AnnotatedDAOFactory
public class SimpleAnnotatedDAOFactory
- extends Object
- implements AnnotatedDAOFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleAnnotatedDAOFactory
public SimpleAnnotatedDAOFactory(DataSource dataSource)
SimpleAnnotatedDAOFactory
public SimpleAnnotatedDAOFactory()
getDAO
public <T> AnnotatedDAO<T> getDAO(Class<T> beanClass)
- Specified by:
getDAO
in interface AnnotatedDAOFactory
getDAO
public <T> AnnotatedDAO<T> getDAO(Class<T> beanClass,
AnnotatedResultSetPopulator<T> populator)
getDAO
public <T> AnnotatedDAO<T> getDAO(Class<T> beanClass,
AnnotatedResultSetPopulator<T> populator,
QueryParameterPopulator<?>... queryParameterPopulators)
getDAO
public <T> AnnotatedDAO<T> getDAO(Class<T> beanClass,
List<? extends QueryParameterPopulator<?>> queryParameterPopulators,
List<? extends BeanStringPopulator<?>> typePopulators)
getDAO
public <T> AnnotatedDAO<T> getDAO(Class<T> beanClass,
AnnotatedResultSetPopulator<T> populator,
List<? extends QueryParameterPopulator<?>> queryParameterPopulators,
List<? extends BeanStringPopulator<?>> typePopulators)
getDataSource
public DataSource getDataSource()
addDAO
public void addDAO(Class<?> beanClass,
AnnotatedDAO<?> daoInstance)
Copyright © 2011. All Rights Reserved.