Class AddCacheServerConfiguration

java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.AddCacheServerConfiguration
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
Direct Known Subclasses:
AddCacheServersConfiguration

public class AddCacheServerConfiguration extends AbstractAnnotationConfigSupport implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
The AddCacheServerConfiguration class is a Spring ImportBeanDefinitionRegistrar that registers a CacheServerFactoryBean definition for the CacheServer configuration meta-data defined in EnableCacheServer annotation.
Since:
1.9.0
See Also:
  • Constructor Details

    • AddCacheServerConfiguration

      public AddCacheServerConfiguration()
  • 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.
    • 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
    • registerCacheServerFactoryBeanDefinition

      protected void registerCacheServerFactoryBeanDefinition(org.springframework.core.annotation.AnnotationAttributes enableCacheServerAttributes, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Registers a CacheServerFactoryBean bean definition for the given EnableCacheServer annotation configuration meta-data.
      Parameters:
      enableCacheServerAttributes - attributes for the EnableCacheServer annotation.
      registry - BeanDefinitionRegistry used to register the CacheServerFactoryBean bean definition.
      See Also:
    • registerCacheServerFactoryBeanDefinition

      protected String registerCacheServerFactoryBeanDefinition(org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition, String beanName, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
    • newBeanDefinitionHolder

      protected org.springframework.beans.factory.config.BeanDefinitionHolder newBeanDefinitionHolder(org.springframework.beans.factory.config.BeanDefinition beanDefinition, String beanName)