Class NullLoader
java.lang.Object
de.uni_hildesheim.sse.easy.loader.NullLoader
- All Implemented Interfaces:
ILoader
A loader that does nothing. May be helpful in testing when some common mechanisms rely on an EASy loader
while the test wants to setup a specific loading sequence, a subset, etc.
- Author:
- Holger Eichelberger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLoader(ClassLoader loader) Sets the class loader for loading EASy bundles.voidsetVerbose(boolean verbose) Changes the verbosity mode.voidshutdown()Performs EASy shutdown activities.voidstartup()Performs EASy startup activities.
-
Constructor Details
-
NullLoader
public NullLoader()
-
-
Method Details
-
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?
-
setLoader
Description copied from interface:ILoaderSets the class loader for loading EASy bundles. By default, the class loader of the implementing class is used.
-