Package de.espirit.firstspirit.module
Interface Module
public interface Module
Interface for a FirstSpirit
module class
.- Since:
- 4.1
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(ModuleDescriptor descriptor, ServerEnvironment env) Initializes this module with the givendescriptor
andenvironment
.void
Event method: called after module was successfully installed.void
Event method: called when module is uninstalled.void
Event method: called after module has been updated.
-
Method Details
-
init
Initializes this module with the givendescriptor
andenvironment
. If the optional module class is specified, no other method will be called before the module is initialized!- Parameters:
descriptor
- module descriptor.env
- server environment.- Since:
- 4.1
-
installed
void installed()Event method: called after module was successfully installed. For update case see methodupdated(String)
.- Since:
- 4.1
-
uninstalling
void uninstalling()Event method: called when module is uninstalled.- Since:
- 4.1
-
updated
Event method: called after module has been updated.- Parameters:
oldVersionString
- old version, before module was updated- Since:
- 4.1
-