Class 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 Detail

      • ModuleCompatibilityComponent

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