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 ofCoherencePublisherScanRegistrar
the linksAutoConfigurationPackages
.- Since:
- 3.0
- Author:
- Artem Bilan, Phillip Webb
-
-
Constructor Summary
Constructors Constructor Description CoherencePublisherAutoConfigurationScanRegistrar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Method Detail
-
setBeanFactory
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
- 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
-
-