Class PulsarListenerEndpointRegistrar
java.lang.Object
org.springframework.pulsar.config.PulsarListenerEndpointRegistrar
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.InitializingBean
public class PulsarListenerEndpointRegistrar
extends Object
implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
Helper bean for registering
ListenerEndpoint with a
GenericListenerEndpointRegistry.-
Constructor Summary
ConstructorsConstructorDescriptionPulsarListenerEndpointRegistrar(Class<? extends ListenerContainerFactory> type) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidvoidregisterEndpoint(ListenerEndpoint endpoint, ListenerContainerFactory<?, ?> factory) voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) voidsetContainerFactory(ListenerContainerFactory<?, ?> containerFactory) voidsetContainerFactoryBeanName(String containerFactoryBeanName) voidsetEndpointRegistry(GenericListenerEndpointRegistry endpointRegistry)
-
Constructor Details
-
PulsarListenerEndpointRegistrar
-
-
Method Details
-
setEndpointRegistry
-
getEndpointRegistry
-
setContainerFactory
-
setContainerFactoryBeanName
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
registerAllEndpoints
protected void registerAllEndpoints() -
registerEndpoint
public void registerEndpoint(ListenerEndpoint endpoint, @Nullable ListenerContainerFactory<?, ?> factory)
-