public class ModuleComponentHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
URI_MODULES_1_0 |
Constructor and Description |
---|
ModuleComponentHelper()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected ModuleVersionNumber |
getModuleVersionNumber(Serializable moduleVersion) |
void |
registerComponent(ModuleComponent component)
Add a managed module component to the registry of components.
|
void |
setApplyToTenants(boolean applyToTenants) |
void |
setDescriptorService(DescriptorService descriptorService) |
void |
setModuleService(ModuleService moduleService) |
void |
setRegistryService(RegistryService registryService) |
void |
setServiceRegistry(ServiceRegistry serviceRegistry) |
void |
setTenantAdminService(TenantAdminService tenantAdminService) |
void |
shutdownModules() |
void |
startModules() |
public static final String URI_MODULES_1_0
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry
- provides access to the service APIspublic void setDescriptorService(DescriptorService descriptorService)
descriptorService
- gives access to the current repository versionpublic void setRegistryService(RegistryService registryService)
registryService
- the service used to persist component execution details.public void setModuleService(ModuleService moduleService)
moduleService
- the service from which to get the available modules.public void setTenantAdminService(TenantAdminService tenantAdminService)
public void setApplyToTenants(boolean applyToTenants)
UnsupportedOperationException
- This feature was never active and cannot be used (ALF-19207)public void registerComponent(ModuleComponent component)
startModules()
method.component
- a module component to be executedpublic void startModules()
public void shutdownModules()
protected ModuleVersionNumber getModuleVersionNumber(Serializable moduleVersion)
Copyright © 2005–2017 Alfresco Software. All rights reserved.