java.lang.Objectorg.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.dal.dao.DAORegistries
Set of DAO registries (one registry for each database)
Constructor Summary | |
DAORegistries()
Construct a new instance |
Method Summary | |
int |
getNumberOfRegistries()
Return the number of registries defined. |
protected DAORegistry |
getRegistry(int databaseId)
Returns the DAO registry corresponding to the given database ID |
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 DAORegistries()
Method Detail |
protected DAORegistry getRegistry(int databaseId)
databaseId
- ( 0 to N )
TelosysRuntimeException
- if the database id is invalid or unknownpublic int getNumberOfRegistries()