de.espirit.firstspirit.module
Interface Module


public interface Module

Interface for a FirstSpirit module class.

Since:
4.1

Method Summary
 void init(de.espirit.firstspirit.module.descriptor.ModuleDescriptor descriptor, ServerEnvironment env)
          Initializes this module with the given descriptor and environment.
 void installed()
          Event method: called after module was successfully installed.
 void uninstalling()
          Event method: called when module is uninstalled.
 void updated(String oldVersionString)
          Event method: called after module has been updated.
 

Method Detail

init

void init(de.espirit.firstspirit.module.descriptor.ModuleDescriptor descriptor,
          ServerEnvironment env)
Initializes this module with the given descriptor and environment. 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 method Module.updated(String).

Since:
4.1

uninstalling

void uninstalling()
Event method: called when module is uninstalled.

Since:
4.1

updated

void updated(String oldVersionString)
Event method: called after module has been updated.

Parameters:
oldVersionString - old version, before module was updated
Since:
4.1


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480