25.7.10

Module Type

 

 

	<module name="com.galileo.netbeans.module">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/com-galileo-netbeans-module.jar</param>
<param name="specversion">1.0</param>
</module>


  • Regular

    • This is the common type of application modul They are oaded on application start. The application loading time is extended by the time of module initialization. Therefore, it is recommended to keep the module initialization very short. Normally it is not necessary to run anything during module loading, as many tasks can be defined declaratively.

  • Autoload


    • These modules are loaded only when another module requires them. Autoload modules correcspond to the priciple of lazy-loading. This mode is usually used for those modules acting as libraries.

  • Eager


    • Eager modules are only loaded when all dependencies are met. This is another option to minimize starting time. For example, if module X depends on the modules A and B, which are not available, it makes no sense to load module X.

No comments: