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 Details

    • ModuleCompatibilityComponent

      public ModuleCompatibilityComponent()
  • Method Details

    • 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 interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
      See Also:
      • ApplicationListener.onApplicationEvent(org.springframework.context.ApplicationEvent)