org.alfresco.repo.module
Class ModuleComponentHelper
java.lang.Object
org.alfresco.repo.module.ModuleComponentHelper
public class ModuleComponentHelper
- extends java.lang.Object
Helper class to split up some of the code for managing module components. This class handles
the execution of the module components.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URI_MODULES_1_0
public static final java.lang.String URI_MODULES_1_0
- See Also:
- Constant Field Values
ModuleComponentHelper
public ModuleComponentHelper()
- Default constructor
setServiceRegistry
public void setServiceRegistry(ServiceRegistry serviceRegistry)
- Parameters:
serviceRegistry
- provides access to the service APIs
setDescriptorService
public void setDescriptorService(DescriptorService descriptorService)
- Parameters:
descriptorService
- gives access to the current repository version
setRegistryService
public void setRegistryService(RegistryService registryService)
- Parameters:
registryService
- the service used to persist component execution details.
setModuleService
public void setModuleService(ModuleService moduleService)
- Parameters:
moduleService
- the service from which to get the available modules.
setTenantAdminService
public void setTenantAdminService(TenantAdminService tenantAdminService)
registerComponent
public void registerComponent(ModuleComponent component)
- Add a managed module component to the registry of components. These will be controlled
by the
ModuleComponentHelper.startModules()
method.
- Parameters:
component
- a module component to be executed
startModules
public void startModules()
-
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.