public class GlobalEnvironmentFactory extends AbstractEnvironmentFactory
| Modifier and Type | Class and Description |
|---|---|
static interface |
GlobalEnvironmentFactory.Listener
An GlobalEnvironmentFactory.Listener reports GlobalEnvironmentFactory disposal to
consumers such as OCLDelegateDomains that need to clean up when their OCL support vanishes.
|
protected class |
GlobalEnvironmentFactory.UnloadResourceAdapter |
EnvironmentFactoryInternal.EnvironmentFactoryInternalExtensionEnvironmentFactory.EnvironmentFactoryExtensionexternalResourceSet, externalResourceSetWasNull, projectManager| Modifier and Type | Method and Description |
|---|---|
void |
addExternal2AS(External2AS external2as) |
void |
addListener(GlobalEnvironmentFactory.Listener listener) |
static GlobalEnvironmentFactory |
basicGetInstance()
Return the global EnvironmentFactory that may be shared amongst OCL consumers or
null if none has been created.
|
static void |
disposeInstance()
Dispose of the global instance; this is intended for leakage detection in tests.
|
protected void |
disposeInternal() |
static GlobalEnvironmentFactory |
getInstance()
Return the global EnvironmentFactory that may be shared amongst OCL consumers for which Complete OCL
complements are not possible.
|
void |
removeListener(GlobalEnvironmentFactory.Listener listener) |
static void |
resetSafeNavigationValidations()
Re-enable safe navigation validations.
|
adapt, addExternalResources, attach, basicGetMetamodelManager, configureLoadFirstStrategy, configureLoadStrategy, createASResourceSet, createCompleteEnvironment, createEvaluationEnvironment, createEvaluationEnvironment, createEvaluationVisitor, createEvaluationVisitor, createExecutor, createIdResolver, createImplementationManager, createMetamodelManager, createModelManager, createModelManager, createOCL, createParserContext, createTemplateParameterSubstitutionVisitor, createValidationKey2severityMap, detach, dispose, getAdapter, getClassifier, getCompleteEnvironment, getCompleteModel, getCSI2ASMapping, getDoSetupName, getIdResolver, getMetamodelManager, getParent, getProjectManager, getResourceSet, getSeverity, getStandardLibrary, getTechnology, isEvaluationTracingEnabled, loadEPackage, loadResource, resetSeverities, setCSI2ASMapping, setEvaluationTracingEnabled, setProject, setSafeNavigationValidationSeverity, setSeveritybasicGetOptions, clearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOption@Nullable public static GlobalEnvironmentFactory basicGetInstance()
public static void disposeInstance()
@NonNull public static GlobalEnvironmentFactory getInstance()
public static void resetSafeNavigationValidations()
public void addExternal2AS(@NonNull
External2AS external2as)
addExternal2AS in interface EnvironmentFactoryInternaladdExternal2AS in class AbstractEnvironmentFactorypublic void addListener(@NonNull
GlobalEnvironmentFactory.Listener listener)
protected void disposeInternal()
disposeInternal in class AbstractEnvironmentFactorypublic void removeListener(@NonNull
GlobalEnvironmentFactory.Listener listener)