com.irisel.modules
Interface ModuleInitializer


public interface ModuleInitializer

The module initializer is used to separate the initialization process from the module definition. An invalid classpath setup or an missing base module may throw an ClassCastException if the module class references this missing resource. Separating them is the best way to make sure that the classloader does not interrupt the module loading process.

Author:
Thomas Morgner

Method Summary
 void performInit()
          Performs the initalization of the module.
 

Method Detail

performInit

void performInit()
                 throws ModuleInitializeException
Performs the initalization of the module.

Throws:
ModuleInitializeException - if an error occurs which prevents the module from being usable.