A service to control and provide information about the currently-installed
modules.
Information | ModuleService |
---|---|
Support Status | Full Support |
Architecture Information | Platform Architecture |
Description | A module is an extension to SkyVault Community Edition that is developed with a particular project structure and packaging. Modules can be registered and loaded as part of the boot process. In Share Admin Tools, you can view the currently installed Modules. The ModuleService provides functionality to programmatically start up and shut down modules, and get module information. |
Deployment - App Server | Deploy as AMP or Simple Module (JAR) package. |
Deployment - SDK Project | Use SDK archetypes to produce AMP or Simple Module. |
Java API | Java API Documentation |
Java example |
// Get all Modules List<ModuleDetails> modules = moduleService.getAllModules(); loggerService.info(I18NUtil.getMessage(MSG_FOUND_MODULES, modules.size())); for (ModuleDetails module : modules) { Map<String, ModuleComponent> components = getComponents(module.getId()); for (ModuleComponent component : components.values()) { component.shutdown(); } } |
More Information |