public interface PojoDaoFactory
Modifier and Type | Method and Description |
---|---|
PojoDaoFactory |
addListener(PojoDaoFactoryListener listener)
Adds a new
PojoDaoFactoryListener to this factory. |
<P> PojoDao<P> |
createPojoDao(Class<P> pojoType)
|
<P> PojoDao<P> |
createPojoDao(Class<P> pojoType,
String tableName)
Creates a
PojoDao for P objects in the specified table. |
PojoDaoFactory addListener(PojoDaoFactoryListener listener)
PojoDaoFactoryListener
to this factory.listener
- the listener<P> PojoDao<P> createPojoDao(Class<P> pojoType)
P
- the POJO type parameterpojoType
- the POJO typeNamingStrategy.getTableName(Class)
Copyright © 2012-2016 Savoir Technologies, Inc.. All Rights Reserved.