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