Class ModuleCompatibilityComponent
- java.lang.Object
-
- org.alfresco.module.org_alfresco_module_rm.bootstrap.ModuleCompatibilityComponent
-
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
public class ModuleCompatibilityComponent extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Module compatibility component.Checks that the currently installed RM AMP licence mode matches that of the underlying repository.
- Since:
- 2.4
- Author:
- Roy Wetherall
-
-
Constructor Summary
Constructors Constructor Description ModuleCompatibilityComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent)
void
setDescriptorService(DescriptorService descriptorService)
void
setModuleService(ModuleService moduleService)
-
-
-
Method Detail
-
setDescriptorService
public void setDescriptorService(DescriptorService descriptorService)
- Parameters:
descriptorService
- descriptor service
-
setModuleService
public void setModuleService(ModuleService moduleService)
- Parameters:
moduleService
- module service
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
- See Also:
ApplicationListener.onApplicationEvent(org.springframework.context.ApplicationEvent)
-
-