Class StandaloneInitializerImpl
- java.lang.Object
-
- tools.mdsd.library.standalone.initialization.impl.StandaloneInitializerImpl
-
- All Implemented Interfaces:
StandaloneInitializer
public class StandaloneInitializerImpl extends Object implements StandaloneInitializer
Implementation of anStandaloneInitializer
that executes all registeredInitializationTask
elements in sequence.
-
-
Constructor Summary
Constructors Constructor Description StandaloneInitializerImpl(List<InitializationTask> tasks)
Constructs the initializer.
-
-
-
Constructor Detail
-
StandaloneInitializerImpl
public StandaloneInitializerImpl(List<InitializationTask> tasks)
Constructs the initializer.- Parameters:
tasks
- All tasks to be executed in the given sequence during initialization.
-
-
Method Detail
-
init
public void init() throws StandaloneInitializationException
Description copied from interface:StandaloneInitializer
Performs the initialization task.- Specified by:
init
in interfaceStandaloneInitializer
- Throws:
StandaloneInitializationException
- In case of an error during initialization.
-
-