Package | Description |
---|---|
info.magnolia.cms.beans.config | |
info.magnolia.module | |
info.magnolia.module.delta | |
info.magnolia.module.model.reader | |
info.magnolia.objectfactory.configuration |
Modifier and Type | Method and Description |
---|---|
protected void |
PropertiesInitializer.loadModuleProperties(List<ModuleDefinition> moduleDefinitions)
Deprecated.
Load the properties defined in the module descriptors.
|
Modifier and Type | Method and Description |
---|---|
ModuleDefinition |
ModuleLifecycleContextImpl.getCurrentModuleDefinition() |
ModuleDefinition |
ModuleLifecycleContext.getCurrentModuleDefinition()
Gets the current module definition.
|
ModuleDefinition |
InstallContextImpl.getCurrentModuleDefinition() |
ModuleDefinition |
InstallContext.getCurrentModuleDefinition()
Allows generic tasks to know what's being installed/updated.
|
ModuleDefinition |
ModuleRegistryImpl.getDefinition(String name) |
ModuleDefinition |
ModuleRegistry.getDefinition(String name) |
ModuleDefinition |
ModuleManager.ModuleAndDeltas.getModule() |
Modifier and Type | Method and Description |
---|---|
List<ModuleDefinition> |
ModuleRegistryImpl.getModuleDefinitions() |
List<ModuleDefinition> |
ModuleRegistry.getModuleDefinitions()
Returns the list of known ModuleDefinitions, as ordered by the loading mechanism (typically in dependency order).
|
List<ModuleDefinition> |
ModuleManagerImpl.loadDefinitions() |
List<ModuleDefinition> |
ModuleManager.loadDefinitions()
Loads modules definitions, validates dependencies and sorts modules
by dependencies.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ModuleManagerImpl.applyDeltas(ModuleDefinition moduleDef,
List<Delta> deltas,
InstallContextImpl ctx)
Applies to given deltas for the given module.
|
protected Map<String,Object> |
ModuleManagerImpl.getModuleInstanceProperties(ModuleDefinition moduleDefinition)
Builds a map of properties to be set on the module instance, the properties are "moduleDefinition", "name",
"moduleNode" and "configNode".
|
protected ModuleVersionHandler |
ModuleManagerImpl.newVersionHandler(ModuleDefinition module) |
void |
ModuleRegistryImpl.registerModuleDefinition(String name,
ModuleDefinition moduleDefinition) |
void |
ModuleRegistry.registerModuleDefinition(String name,
ModuleDefinition moduleDefinition) |
void |
InstallContextImpl.setCurrentModule(ModuleDefinition module) |
void |
ModuleLifecycleContextImpl.setCurrentModuleDefinition(ModuleDefinition currentModuleDefinition) |
protected void |
ModuleManagerImpl.startModule(Object moduleInstance,
ModuleDefinition moduleDefinition,
ModuleLifecycleContextImpl lifecycleContext) |
protected void |
ModuleManagerImpl.stopModule(Object moduleInstance,
ModuleDefinition moduleDefinition,
ModuleLifecycleContextImpl lifecycleContext) |
Constructor and Description |
---|
ModuleAndDeltas(ModuleDefinition module,
Version currentVersion,
List<Delta> deltas) |
Modifier and Type | Method and Description |
---|---|
static DeltaBuilder |
DeltaBuilder.startup(ModuleDefinition moduleDef,
List<Task> tasks) |
Modifier and Type | Method and Description |
---|---|
ModuleDefinition |
ModuleDefinitionReader.read(Reader in) |
ModuleDefinition |
LightModuleDefinitionReader.read(Reader in) |
ModuleDefinition |
BetwixtModuleDefinitionReader.read(Reader in) |
ModuleDefinition |
ModuleDefinitionReader.readFromResource(String resourcePath) |
ModuleDefinition |
LightModuleDefinitionReader.readFromResource(String resourcePath) |
ModuleDefinition |
BetwixtModuleDefinitionReader.readFromResource(String resourcePath) |
Modifier and Type | Method and Description |
---|---|
Map<String,ModuleDefinition> |
ModuleDefinitionReader.readAll()
Reads all found module definitions.
|
Map<String,ModuleDefinition> |
LightModuleDefinitionReader.readAll() |
Map<String,ModuleDefinition> |
BetwixtModuleDefinitionReader.readAll() |
List<ModuleDefinition> |
DependencyCheckerImpl.sortByDependencyLevel(Map<String,ModuleDefinition> moduleDefinitions) |
List<ModuleDefinition> |
DependencyChecker.sortByDependencyLevel(Map<String,ModuleDefinition> moduleDefinitions) |
Modifier and Type | Method and Description |
---|---|
protected void |
DependencyCheckerImpl.checkSpecificDependency(ModuleDefinition checkedModule,
DependencyDefinition dependency,
Map<String,ModuleDefinition> moduleDefinitions) |
Modifier and Type | Method and Description |
---|---|
void |
DependencyCheckerImpl.checkDependencies(Map<String,ModuleDefinition> moduleDefinitions) |
void |
DependencyChecker.checkDependencies(Map<String,ModuleDefinition> moduleDefinitions)
Checks dependencies between the given modules, throws a ModuleDependencyException if there is
a dependency mismatch.
|
protected void |
DependencyCheckerImpl.checkSpecificDependency(ModuleDefinition checkedModule,
DependencyDefinition dependency,
Map<String,ModuleDefinition> moduleDefinitions) |
List<ModuleDefinition> |
DependencyCheckerImpl.sortByDependencyLevel(Map<String,ModuleDefinition> moduleDefinitions) |
List<ModuleDefinition> |
DependencyChecker.sortByDependencyLevel(Map<String,ModuleDefinition> moduleDefinitions) |
Modifier and Type | Method and Description |
---|---|
ComponentProviderConfiguration |
ComponentProviderConfigurationBuilder.getComponentsFromModules(String id,
List<ModuleDefinition> moduleDefinitions)
Reads component definitions from module descriptors and return a
ComponentProviderConfiguration
containing all components with the given id. |
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.