|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.module.ModuleServiceImpl
public class ModuleServiceImpl
This component controls the execution of
module startup components
.
service registry
to be used when the
server starts up again.
Constructor Summary | |
---|---|
ModuleServiceImpl()
Default constructor |
Method Summary | |
---|---|
java.util.List |
getAllModules()
Gets a list of all the modules currently installed. |
ModuleDetails |
getModule(java.lang.String moduleId)
Gets the module details for a given module id. |
void |
registerComponent(ModuleComponent component)
Register a component of a module for execution. |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
void |
setDescriptorService(DescriptorService descriptorService)
|
void |
setRegistryService(RegistryService registryService)
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
|
void |
setTenantAdminService(TenantAdminService tenantAdminService)
|
void |
startModules()
Start all the modules. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModuleServiceImpl()
Method Detail |
---|
public void setServiceRegistry(ServiceRegistry serviceRegistry)
public void setDescriptorService(DescriptorService descriptorService)
public void setRegistryService(RegistryService registryService)
registryService
- the service used to persist component execution details.public void setTenantAdminService(TenantAdminService tenantAdminService)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void registerComponent(ModuleComponent component)
ModuleService
registerComponent
in interface ModuleService
component
- the module component.ModuleComponentHelper.registerComponent(ModuleComponent)
public void startModules()
startModules
in interface ModuleService
ModuleComponentHelper.startModules()
public ModuleDetails getModule(java.lang.String moduleId)
getModule
in interface ModuleService
moduleId
- a module id
public java.util.List getAllModules()
getAllModules
in interface ModuleService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |