|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.jdo.engine.JDOConfLoader
Helper class to load the Castor JDO configuration from its configuration file.
Constructor Summary | |
JDOConfLoader()
|
Method Summary | |
static void |
deleteConfiguration()
Deletes JDO configuration. |
static Database |
getDatabase(java.lang.String databaseName,
org.xml.sax.InputSource source,
org.xml.sax.EntityResolver resolver)
|
static Database[] |
getDatabases(org.xml.sax.InputSource source,
org.xml.sax.EntityResolver resolver)
|
static Database[] |
getDatabases(JdoConf jdoConf)
|
static Mapping[] |
getMapping(java.lang.String databaseName,
org.xml.sax.InputSource source,
org.xml.sax.EntityResolver resolver)
|
static TransactionDemarcation |
getTransactionDemarcation(org.xml.sax.InputSource source,
org.xml.sax.EntityResolver resolver)
|
static boolean |
isLoaded()
Indicates whether JDO configuration has loaded successfully. |
static void |
loadConfiguration(org.xml.sax.InputSource source,
org.xml.sax.EntityResolver resolver)
Loads the JDO configuration from the specified InputSource. |
static void |
loadConfiguration(JdoConf jdoConf)
Loads the JDO configuration from the specified InputSource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDOConfLoader()
Method Detail |
public static void loadConfiguration(org.xml.sax.InputSource source, org.xml.sax.EntityResolver resolver) throws MappingException
source
- An InputSource pointing to the JDO configuration to be loaded.resolver
- An EntityResolver instance.
MappingException
- If the JDO configuration cannot be loaded/unmarshalled.public static void loadConfiguration(JdoConf jdoConf)
jdoConf
- An JDoConf instance representing a JDO configuration to be loaded.public static Database[] getDatabases(JdoConf jdoConf)
public static Database[] getDatabases(org.xml.sax.InputSource source, org.xml.sax.EntityResolver resolver) throws MappingException
MappingException
public static Database getDatabase(java.lang.String databaseName, org.xml.sax.InputSource source, org.xml.sax.EntityResolver resolver) throws MappingException
MappingException
public static TransactionDemarcation getTransactionDemarcation(org.xml.sax.InputSource source, org.xml.sax.EntityResolver resolver) throws MappingException
MappingException
public static Mapping[] getMapping(java.lang.String databaseName, org.xml.sax.InputSource source, org.xml.sax.EntityResolver resolver) throws MappingException
MappingException
public static void deleteConfiguration()
public static boolean isLoaded()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |