Class AutoRegionLookupConfiguration

java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.AutoRegionLookupConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware

public class AutoRegionLookupConfiguration extends AbstractAnnotationConfigSupport implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
The AutoRegionLookupConfiguration class is a Spring ImportBeanDefinitionRegistrar that enables the automatic lookup of GemFire Regions, which may have been defined else where, such as in cache.xml or using GemFire's Cluster Configuration Service. This registrar works by registering the AutoRegionLookupBeanPostProcessor in the Spring application context, which is enabled when a Spring @Configuration annotated GemFire cache application class is annotated with EnableAutoRegionLookup.
Since:
1.9.0
See Also:
  • Constructor Details

    • AutoRegionLookupConfiguration

      public AutoRegionLookupConfiguration()
  • Method Details

    • getAnnotationType

      protected Class<? extends Annotation> getAnnotationType()
      Description copied from class: AbstractAnnotationConfigSupport
      Returns the cache application Annotation type pertaining to this configuration.
      Specified by:
      getAnnotationType in class AbstractAnnotationConfigSupport
      Returns:
      the cache application Annotation type used by this application.
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Overrides:
      setBeanFactory in class AbstractAnnotationConfigSupport
      Throws:
      org.springframework.beans.BeansException
    • 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