Package de.espirit.firstspirit.module
Interface Module
public interface Module
Interface for a FirstSpirit
module class.- Since:
- 4.1
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ModuleDescriptor descriptor, ServerEnvironment env) Initializes this module with the givendescriptorandenvironment.voidEvent method: called after module was successfully installed.voidEvent method: called when module is uninstalled.voidEvent method: called after module has been updated.
-
Method Details
-
init
Initializes this module with the givendescriptorandenvironment. 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
-