|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.cPlanner.code.generator.CodeGeneratorFactory
public class CodeGeneratorFactory
A factory class to load the appropriate type of Code Generator. The CodeGenerator implementation is used to write out the concrete plan.
| Field Summary | |
|---|---|
static String |
CONDOR_CODE_GENERATOR_CLASS
The name of the class implementing the condor code generator. |
static String |
DEFAULT_PACKAGE_NAME
The default package where the all the implementing classes are supposed to reside. |
| Constructor Summary | |
|---|---|
CodeGeneratorFactory()
|
|
| Method Summary | |
|---|---|
static CodeGenerator |
loadInstance(PegasusBag bag)
This method loads the appropriate implementing code generator as specified by the user at runtime. |
static CodeGenerator |
loadInstance(PegasusBag bag,
String className)
This method loads the appropriate code generator as specified by the user at runtime. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_PACKAGE_NAME
public static final String CONDOR_CODE_GENERATOR_CLASS
| Constructor Detail |
|---|
public CodeGeneratorFactory()
| Method Detail |
|---|
public static CodeGenerator loadInstance(PegasusBag bag)
throws CodeGeneratorFactoryException
bag - the bag of initialization objects.
CodeGeneratorFactoryException - that nests any error that
might occur during the instantiation of the implementation.DEFAULT_PACKAGE_NAME,
PegasusProperties.getDAXCallback()
public static CodeGenerator loadInstance(PegasusBag bag,
String className)
throws CodeGeneratorFactoryException
bag - the bag of initialization objects.className - the name of the implementing class.
CodeGeneratorFactoryException - that nests any error that
might occur during the instantiation of the implementation.DEFAULT_PACKAGE_NAME
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||