Javadoc
Forces module stop. In most cases, the runtime will take care of stopping
modules when the last module user released its interest. However, in
certain cases, it may be interesting to manually stop the module.
Stopping the module means that the module is removed from the registry,
the class loader references are released (note : the class loaders will
only be released if all instances of any class loaded by them are gc'ed).
If a LifecyclePolicy
for this module is defined, the
LifecyclePolicy#stop(Module)method will be called and finally the module state will be
returned to
ModuleState#NEW.