Class AbstractStep<I,O>
- java.lang.Object
-
- de.codecentric.reedelk.platform.lifecycle.AbstractStep<I,O>
-
- All Implemented Interfaces:
Step<I,O>
- Direct Known Subclasses:
ModuleAdd,ModuleBuild,ModuleCheckNotNull,ModuleCreate,ModuleHotSwap,ModuleRemove,ModuleResolveDependencies,ModuleStart,ModuleStopAndReleaseReferences,ModuleTransitionToInstalled,ModuleUpdateRegisteredComponents,ModuleUpdateUnregisteredComponent,ModuleValidate
public abstract class AbstractStep<I,O> extends Object implements Step<I,O>
-
-
Constructor Summary
Constructors Constructor Description AbstractStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.osgi.framework.Bundlebundle()voidbundle(org.osgi.framework.Bundle bundle)ComponentRegistrycomponentRegistry()voidcomponentRegistry(ComponentRegistry componentRegistry)de.codecentric.reedelk.runtime.api.configuration.ConfigurationServiceconfigurationService()voidconfigurationService(de.codecentric.reedelk.runtime.api.configuration.ConfigurationService configurationService)protected Optional<DeSerializedModule>deserialize(Module module)De-serializes a given module.ModulesManagermodulesManager()voidmodulesManager(ModulesManager modulesManager)de.codecentric.reedelk.runtime.system.api.SystemPropertysystemPropertyService()voidsystemPropertyService(de.codecentric.reedelk.runtime.system.api.SystemProperty systemProperty)
-
-
-
Method Detail
-
bundle
public void bundle(org.osgi.framework.Bundle bundle)
-
modulesManager
public ModulesManager modulesManager()
- Specified by:
modulesManagerin interfaceStep<I,O>
-
modulesManager
public void modulesManager(ModulesManager modulesManager)
- Specified by:
modulesManagerin interfaceStep<I,O>
-
componentRegistry
public ComponentRegistry componentRegistry()
- Specified by:
componentRegistryin interfaceStep<I,O>
-
componentRegistry
public void componentRegistry(ComponentRegistry componentRegistry)
- Specified by:
componentRegistryin interfaceStep<I,O>
-
configurationService
public de.codecentric.reedelk.runtime.api.configuration.ConfigurationService configurationService()
- Specified by:
configurationServicein interfaceStep<I,O>
-
configurationService
public void configurationService(de.codecentric.reedelk.runtime.api.configuration.ConfigurationService configurationService)
- Specified by:
configurationServicein interfaceStep<I,O>
-
systemPropertyService
public de.codecentric.reedelk.runtime.system.api.SystemProperty systemPropertyService()
- Specified by:
systemPropertyServicein interfaceStep<I,O>
-
systemPropertyService
public void systemPropertyService(de.codecentric.reedelk.runtime.system.api.SystemProperty systemProperty)
- Specified by:
systemPropertyServicein interfaceStep<I,O>
-
deserialize
protected Optional<DeSerializedModule> deserialize(Module module)
De-serializes a given module. Note that this function has a side effect on the provided Module! It sets its state to ERROR if a deserialization error occurred.- Parameters:
module- the module to be de-serialized.- Returns:
- an object containing the de-serialized flows, subflows and configurations.
-
-