Class CoherencePublisherScanRegistrar

java.lang.Object
com.oracle.coherence.spring.messaging.CoherencePublisherScanRegistrar
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware, org.springframework.context.ResourceLoaderAware
Direct Known Subclasses:
CoherencePublisherAutoConfigurationScanRegistrar

public class CoherencePublisherScanRegistrar extends Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware, org.springframework.context.EnvironmentAware
ImportBeanDefinitionRegistrar implementation to scan and register Coherence publishers.
Since:
3.0
Author:
Artem Bilan, Gary Russell
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Collection<String>
    getBasePackages(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
    Get the collection of base packages from the CoherencePublisherScan annotation if available.
    void
    registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
     
    void
    setEnvironment(org.springframework.core.env.Environment environment)
     
    void
    setResourceLoader(org.springframework.core.io.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
  • Constructor Details

    • CoherencePublisherScanRegistrar

      public CoherencePublisherScanRegistrar()
  • Method Details

    • setResourceLoader

      public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
      Specified by:
      setResourceLoader in interface org.springframework.context.ResourceLoaderAware
    • setEnvironment

      public void setEnvironment(org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware
    • registerBeanDefinitions

      public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Specified by:
      registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
    • getBasePackages

      protected Collection<String> getBasePackages(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Get the collection of base packages from the CoherencePublisherScan annotation if available.
      Parameters:
      importingClassMetadata - the AnnotationMetadata
      registry - the BeanDefinitionRegistry
      Returns:
      the basePackages, never null