|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.ddlgen.GeneratorRegistry
Registry for Generator implementations obtained from the configuration.
| Constructor Summary | |
GeneratorRegistry(DDLGenConfiguration config)
Construct an instance of each generator specified in given configuration. |
|
| Method Summary | |
java.util.Collection |
getEngineNames()
Returns a collection of the names of current configured database engines. |
Generator |
getGenerator(java.lang.String engine)
Returns generator with given engine name or null if there is no such generator. |
java.util.Collection |
getGenerators()
Returns a collection of the current configured generators. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GeneratorRegistry(DDLGenConfiguration config)
config - The configuration.| Method Detail |
public Generator getGenerator(java.lang.String engine)
throws GeneratorException
engine - Name of database engine.
GeneratorException - If no generator for engine can be found.public java.util.Collection getGenerators()
public java.util.Collection getEngineNames()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||