Class CoherencePublisherAutoConfigurationScanRegistrar
java.lang.Object
com.oracle.coherence.spring.messaging.CoherencePublisherScanRegistrar
com.oracle.coherence.spring.boot.autoconfigure.messaging.CoherencePublisherAutoConfigurationScanRegistrar
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,ImportBeanDefinitionRegistrar
,EnvironmentAware
,ResourceLoaderAware
public class CoherencePublisherAutoConfigurationScanRegistrar
extends CoherencePublisherScanRegistrar
implements BeanFactoryAware
Variation of
CoherencePublisherScanRegistrar
the links
AutoConfigurationPackages
.- Since:
- 3.0
- Author:
- Artem Bilan, Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<String>
getBasePackages
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) Get the collection of base packages from theCoherencePublisherScan
annotation if available.void
registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) void
setBeanFactory
(BeanFactory beanFactory) Methods inherited from class com.oracle.coherence.spring.messaging.CoherencePublisherScanRegistrar
setEnvironment, setResourceLoader
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
registerBeanDefinitions
-
Constructor Details
-
CoherencePublisherAutoConfigurationScanRegistrar
public CoherencePublisherAutoConfigurationScanRegistrar()
-
-
Method Details
-
setBeanFactory
- Specified by:
setBeanFactory
in interfaceBeanFactoryAware
- Throws:
BeansException
-
registerBeanDefinitions
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) - Specified by:
registerBeanDefinitions
in interfaceImportBeanDefinitionRegistrar
- Overrides:
registerBeanDefinitions
in classCoherencePublisherScanRegistrar
-
getBasePackages
protected Collection<String> getBasePackages(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) Description copied from class:CoherencePublisherScanRegistrar
Get the collection of base packages from theCoherencePublisherScan
annotation if available.- Overrides:
getBasePackages
in classCoherencePublisherScanRegistrar
- Parameters:
importingClassMetadata
- the AnnotationMetadataregistry
- the BeanDefinitionRegistry- Returns:
- the basePackages, never null
-