|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.db.JDODatabaseFactory
Castor JDO Database pooling factory. - A database is a connection in castor speak.
Constructor Summary | |
JDODatabaseFactory()
Default Constructor |
Method Summary | |
void |
close()
Cleanup the object pool that provides the connections. |
org.exolab.castor.jdo.Database |
getDatabase(java.lang.String configFile,
java.lang.String dbName)
get Database |
void |
init(java.util.Properties p)
No initialization required. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDODatabaseFactory()
Method Detail |
public void init(java.util.Properties p)
init
in interface Resource
p
- public org.exolab.castor.jdo.Database getDatabase(java.lang.String configFile, java.lang.String dbName) throws ConfigurationException
configFile
- dbName
-
ConfigurationException
public void close()
close
in interface Resource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |