Class CoherencePublisherScanRegistrar
- java.lang.Object
-
- com.oracle.coherence.spring.messaging.CoherencePublisherScanRegistrar
-
- All Implemented Interfaces:
Aware
,ImportBeanDefinitionRegistrar
,EnvironmentAware
,ResourceLoaderAware
- Direct Known Subclasses:
CoherencePublisherAutoConfigurationScanRegistrar
public class CoherencePublisherScanRegistrar extends Object implements ImportBeanDefinitionRegistrar, ResourceLoaderAware, EnvironmentAware
ImportBeanDefinitionRegistrar
implementation to scan and register Coherence publishers.- Since:
- 3.0
- Author:
- Artem Bilan, Gary Russell
-
-
Constructor Summary
Constructors Constructor Description CoherencePublisherScanRegistrar()
-
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
setEnvironment(Environment environment)
void
setResourceLoader(ResourceLoader resourceLoader)
-
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
-
setResourceLoader
public void setResourceLoader(ResourceLoader resourceLoader)
- Specified by:
setResourceLoader
in interfaceResourceLoaderAware
-
setEnvironment
public void setEnvironment(Environment environment)
- Specified by:
setEnvironment
in interfaceEnvironmentAware
-
registerBeanDefinitions
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
- Specified by:
registerBeanDefinitions
in interfaceImportBeanDefinitionRegistrar
-
getBasePackages
protected Collection<String> getBasePackages(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
Get the collection of base packages from theCoherencePublisherScan
annotation if available.- Parameters:
importingClassMetadata
- the AnnotationMetadataregistry
- the BeanDefinitionRegistry- Returns:
- the basePackages, never null
-
-