java.lang.Objectorg.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.dal.dao.DAORegistry
DAO registry, used to provide DAO by bean class or by table name If the application uses multiple databases, there's a DAO registry for each database.
Constructor Summary | |
DAORegistry()
|
Method Summary | |
protected StandardDAO |
getByBeanClass(java.lang.Class beanClass)
Returns the DAO associated with the given Java class |
protected StandardDAO |
getByTableName(java.lang.String tableName)
Returns the DAO associated with the given table name |
protected int |
getSize()
Returns the registry size |
protected void |
register(java.lang.Class daoClass)
|
Methods inherited from class org.objectweb.telosys.common.TelosysObject |
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DAORegistry()
Method Detail |
protected void register(java.lang.Class daoClass)
protected StandardDAO getByBeanClass(java.lang.Class beanClass)
beanClass
-
protected StandardDAO getByTableName(java.lang.String tableName)
tableName
-
protected int getSize()