org.alfresco.service.cmr.module
Interface ModuleService
public interface ModuleService
A service to control and provide information about the currently-installed modules.
Since:
-
2.0
Author:
-
Roy Wetherall, Derek Hulley
getModule
-
Gets the module details for a given module id. If the module does not exist or is not installed
then null is returned.
Parameters:
-
moduleId - a module id
Returns:
-
the module details
getAllModules
-
Gets a list of all the modules currently installed.
Returns:
-
module details of the currently installed modules.
getMissingModules
-
Gets a list of the modules missing from the system.
Returns:
-
module details of the modules missing from the system.
registerComponent
-
Register a component of a module for execution.
Parameters:
-
component - the module component.
startModules
void startModules()
-
Start all the modules. For transaction purposes, each module should be
regarded as a self-contained unit and started in its own transaction.
Where inter-module dependencies exist, these will be pulled into the
transaction.
shutdownModules
void shutdownModules()