|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.castor.ddlgen.GeneratorFactory
public final class GeneratorFactory
This class handles the creation for various databse generators.
Method Summary | |
---|---|
static Generator |
createDDLGenerator(java.lang.String engine,
java.lang.String globalConf,
java.lang.String specificConf)
Create DDL Generator for specified database engine with given global and specific configurations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Generator createDDLGenerator(java.lang.String engine, java.lang.String globalConf, java.lang.String specificConf) throws GeneratorException
engine
- Database engine.globalConf
- Global configuration file.specificConf
- Specific configuration file for database engine.
GeneratorException
- If database engine has not been specified or no
generator is available for the database engine.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |