|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Factory
A representation of the model object 'Factory'. Creates an object which can be further configured (except Null) and referenced.
The following features are supported:
ConfigPackage.getFactory()| Method Summary | |
|---|---|
void |
compile(org.eclipse.emf.common.util.EList<String> profilePath,
TokenExpander.TokenSource tokens,
ClassLoader classLoader,
File dir,
String targetPackage,
String targetClass)
Compiles configuration to Java source file. |
FactoryClosure<Object> |
create(FactoryConfig factoryConfig)
Instantiates and configures a Java object. |
String |
getConfigScript()
Returns the value of the 'Config Script' attribute. |
String |
getDescription()
Returns the value of the 'Description' attribute. |
String |
getHomePage()
Returns the value of the 'Home Page' attribute. |
String |
getId()
Returns the value of the 'Id' attribute. |
org.eclipse.emf.common.util.EList<String> |
getService()
Returns the value of the 'Service' attribute list. |
org.eclipse.emf.common.util.EList<Source> |
getSource()
Returns the value of the 'Source' containment reference list. |
org.eclipse.emf.common.util.EList<String> |
getSupportedExecutionEnvironments()
Returns the value of the 'Supported Execution Environments' attribute list. |
boolean |
isEnabled()
Returns the value of the 'Enabled' attribute. |
void |
setConfigScript(String value)
Sets the value of the ' Config Script' attribute. |
void |
setDescription(String value)
Sets the value of the ' Description' attribute. |
void |
setEnabled(boolean value)
Sets the value of the ' Enabled' attribute. |
void |
setHomePage(String value)
Sets the value of the ' Home Page' attribute. |
void |
setId(String value)
Sets the value of the ' Id' attribute. |
| Methods inherited from interface com.hammurapi.party.CommonObject |
|---|
getRoles |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
String getDescription()
setDescription(String),
ConfigPackage.getFactory_Description()void setDescription(String value)
Description' attribute.
value - the new value of the 'Description' attribute.getDescription()String getConfigScript()
setConfigScript(String),
ConfigPackage.getFactory_ConfigScript()void setConfigScript(String value)
Config Script' attribute.
value - the new value of the 'Config Script' attribute.getConfigScript()String getId()
setId(String),
ConfigPackage.getFactory_Id()void setId(String value)
Id' attribute.
value - the new value of the 'Id' attribute.getId()org.eclipse.emf.common.util.EList<Source> getSource()
Source.
Object defintion can have zero or more sources.
ConfigPackage.getFactory_Source()boolean isEnabled()
"true".
If this attribute is set to false, given definition is skipped during configuration. Setting this attribute to false is like commenting out the definition.
setEnabled(boolean),
ConfigPackage.getFactory_Enabled()void setEnabled(boolean value)
Enabled' attribute.
value - the new value of the 'Enabled' attribute.isEnabled()org.eclipse.emf.common.util.EList<String> getService()
String.
Values in this attribute are names of service interfaces which this object exposes. Configuration framework registers created object in the context if the context is mutable. If the context is immutable, a configuration exception is thrown.
ConfigPackage.getFactory_Service()org.eclipse.emf.common.util.EList<String> getSupportedExecutionEnvironments()
String.
Versions of Java supported by given factory.
ConfigPackage.getFactory_SupportedExecutionEnvironments()String getHomePage()
setHomePage(String),
ConfigPackage.getFactory_HomePage()void setHomePage(String value)
Home Page' attribute.
value - the new value of the 'Home Page' attribute.getHomePage()
FactoryClosure<Object> create(FactoryConfig factoryConfig)
throws ConfigurationException
factoryConfig - Factory configuration.
ConfigurationException
void compile(org.eclipse.emf.common.util.EList<String> profilePath,
TokenExpander.TokenSource tokens,
ClassLoader classLoader,
File dir,
String targetPackage,
String targetClass)
throws ConfigurationException
profilePath - Profile path for compilation.tokens - Expansion tokens.classLoader - Class loader from which classes being used in the configuration script will be loaded for introspection during compilation. This class loader will be used as parent classloader for classloaders defined in the configuration file.dir - Directory where to store generated files.targetPackage - Target package for generated files.targetClass - Target class name for generated file.
ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||