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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
onApplicationEvent
(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent) void
setDescriptorService
(DescriptorService descriptorService) void
setModuleService
(ModuleService moduleService)
-
Constructor Details
-
ModuleCompatibilityComponent
public ModuleCompatibilityComponent()
-
-
Method Details
-
setDescriptorService
- Parameters:
descriptorService
- descriptor service
-
setModuleService
- 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)
-