Class PulsarReaderEndpointRegistrar
java.lang.Object
org.springframework.pulsar.config.PulsarReaderEndpointRegistrar
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,InitializingBean
public class PulsarReaderEndpointRegistrar
extends Object
implements BeanFactoryAware, InitializingBean
Helper bean for registering
PulsarReaderEndpoint
with a
GenericReaderEndpointRegistry
.- Author:
- Soby Chacko
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
void
registerEndpoint
(PulsarReaderEndpoint endpoint, ReaderContainerFactory<?, ?> factory) void
setBeanFactory
(BeanFactory beanFactory) void
setContainerFactory
(ReaderContainerFactory<?, ?> containerFactory) void
setContainerFactoryBeanName
(String containerFactoryBeanName) void
setEndpointRegistry
(GenericReaderEndpointRegistry endpointRegistry)
-
Constructor Details
-
PulsarReaderEndpointRegistrar
-
-
Method Details
-
setEndpointRegistry
-
getEndpointRegistry
-
setContainerFactory
-
setContainerFactoryBeanName
-
setBeanFactory
- Specified by:
setBeanFactory
in interfaceBeanFactoryAware
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceInitializingBean
-
registerAllEndpoints
protected void registerAllEndpoints() -
registerEndpoint
public void registerEndpoint(PulsarReaderEndpoint endpoint, @Nullable ReaderContainerFactory<?, ?> factory)
-