public class DynamicConfigurator
extends java.lang.Object
EPackageConfigurator and ResourceFactoryConfigurator that are configurable.
It loads the ecore file and registers the package depending on the configuration| Constructor and Description |
|---|
DynamicConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ComponentContext ctx,
java.util.Map<java.lang.String,java.lang.Object> properties)
Called on components activation
|
void |
configureEPackage(org.eclipse.emf.ecore.EPackage.Registry registry) |
void |
configureResourceFactory(Registry registry) |
void |
unconfigureEPackage(org.eclipse.emf.ecore.EPackage.Registry registry) |
void |
unconfigureResourceFactory(Registry registry) |
public void activate(ComponentContext ctx,
java.util.Map<java.lang.String,java.lang.Object> properties)
throws ConfigurationException
ctx - the component contextproperties - the component propertiesConfigurationExceptionpublic void configureResourceFactory(Registry registry)
public void unconfigureResourceFactory(Registry registry)
public void configureEPackage(org.eclipse.emf.ecore.EPackage.Registry registry)
public void unconfigureEPackage(org.eclipse.emf.ecore.EPackage.Registry registry)
Bryan Hunt, Data In Motion Consulting