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.
Interface to be implemented for registering
EventHandlingProcessorLifecycleController beans.-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterLifecycleBean(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, String eventHandlingProcessorBeanName, EventHandlingProperties.ProcessorSettings processorSettings) Implementations are expected to register anEventHandlingProcessorLifecycleControllerwithin the givenBeanDefinitionRegistry, if needed.
-
Method Details
-
registerLifecycleBean
void registerLifecycleBean(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, String eventHandlingProcessorBeanName, EventHandlingProperties.ProcessorSettings processorSettings) Implementations are expected to register anEventHandlingProcessorLifecycleControllerwithin the givenBeanDefinitionRegistry, if needed.- Parameters:
registry- the registry to be used for bean registrationeventHandlingProcessorBeanName- the name of theEventHandlingProcessorbean to refer to for life-cycle operationsprocessorSettings- the processor settings
-