org.alfresco.repo.module
Class ModuleComponentHelper

java.lang.Object
  extended by 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.


Field Summary
static java.lang.String URI_MODULES_1_0
           
 
Constructor Summary
ModuleComponentHelper()
          Default constructor
 
Method Summary
 void registerComponent(ModuleComponent component)
          Add a managed module component to the registry of components.
 void setDescriptorService(DescriptorService descriptorService)
           
 void setModuleService(ModuleService moduleService)
           
 void setRegistryService(RegistryService registryService)
           
 void setServiceRegistry(ServiceRegistry serviceRegistry)
           
 void setTenantAdminService(TenantAdminService tenantAdminService)
           
 void startModules()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI_MODULES_1_0

public static final java.lang.String URI_MODULES_1_0
See Also:
Constant Field Values
Constructor Detail

ModuleComponentHelper

public ModuleComponentHelper()
Default constructor

Method Detail

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.