public class SLSFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_PACKAGE_NAME
The default package where the all the implementing classes are supposed to
reside.
|
static java.lang.String |
DEFAULT_SLS_IMPL_CLASS
The name of the class implementing the condor code generator.
|
Constructor and Description |
---|
SLSFactory() |
Modifier and Type | Method and Description |
---|---|
static SLS |
loadInstance(PegasusBag bag)
This method loads the appropriate implementing code generator as specified
by the user at runtime.
|
static SLS |
loadInstance(PegasusBag bag,
java.lang.String className)
This method loads the appropriate code generator as specified by the
user at runtime.
|
public static final java.lang.String DEFAULT_PACKAGE_NAME
public static final java.lang.String DEFAULT_SLS_IMPL_CLASS
public static SLS loadInstance(PegasusBag bag) throws SLSFactoryException
bag
- the bag of initialization objects.CodeGeneratorFactoryException
- that nests any error that
might occur during the instantiation of the implementation.SLSFactoryException
DEFAULT_PACKAGE_NAME
public static SLS loadInstance(PegasusBag bag, java.lang.String className) throws SLSFactoryException
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.SLSFactoryException
DEFAULT_PACKAGE_NAME