Class AbstractStartupInfoLoader
java.lang.Object
de.uni_hildesheim.sse.easy.loader.AbstractStartupInfoLoader
- All Implemented Interfaces:
ILoader
- Direct Known Subclasses:
ListLoader,ManifestLoader
Abstract loader based on
StartupInfo.- Author:
- Holger Eichelberger
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractStartupInfoLoader(List<StartupInfo> startupSequence) Creates an instance with given startup sequence. -
Method Summary
Modifier and TypeMethodDescriptionprotected ClassLoaderReturns the class loader to use.booleanReturns the verbose state.voidsetLoader(ClassLoader loader) Sets the class loader for loading EASy bundles.protected voidsetStartupSequence(List<StartupInfo> startupSequence) Sets the startup sequence.voidsetVerbose(boolean verbose) Changes the verbosity mode.voidshutdown()Performs EASy shutdown activities.voidstartup()Performs EASy startup activities.
-
Field Details
-
verbose
private boolean verbose -
startupSequence
-
loader
-
-
Constructor Details
-
AbstractStartupInfoLoader
Creates an instance with given startup sequence.- Parameters:
startupSequence- the startup sequence to use
-
-
Method Details
-
setStartupSequence
Sets the startup sequence.- Parameters:
startupSequence- the startup sequence
-
startup
public void startup()Description copied from interface:ILoaderPerforms EASy startup activities. -
shutdown
public void shutdown()Description copied from interface:ILoaderPerforms EASy shutdown activities. -
setVerbose
public void setVerbose(boolean verbose) Description copied from interface:ILoaderChanges the verbosity mode.- Specified by:
setVerbosein interfaceILoader- Parameters:
verbose- shall we be verbose?
-
isVerbose
public boolean isVerbose()Returns the verbose state.- Returns:
- the verbose state
-
setLoader
Description copied from interface:ILoaderSets the class loader for loading EASy bundles. By default, the class loader of the implementing class is used. -
getLoader
Returns the class loader to use.- Returns:
- the class laoder
-