Interface EventHandlingProcessorLifecycleRegistration

All Known Implementing Classes:
EventHandlingProcessorAutoConfiguration.LeaderElectionLifecycleConfiguration.Registration
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EventHandlingProcessorLifecycleRegistration
Interface to be implemented for registering EventHandlingProcessorLifecycleController beans.
  • Method Details

    • registerLifecycleBean

      void registerLifecycleBean(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, String eventHandlingProcessorBeanName, EventHandlingProperties.ProcessorSettings processorSettings)
      Implementations are expected to register an EventHandlingProcessorLifecycleController within the given BeanDefinitionRegistry, if needed.
      Parameters:
      registry - the registry to be used for bean registration
      eventHandlingProcessorBeanName - the name of the EventHandlingProcessor bean to refer to for life-cycle operations
      processorSettings - the processor settings