Class ClusterAwareConfiguration

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

@Configuration @Import({ClusterAvailableConfiguration.class,ClusterNotAvailableConfiguration.class}) public class ClusterAwareConfiguration extends org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport implements org.springframework.context.annotation.ImportAware
The ClusterAwareConfiguration class is a Spring @Configuration class imported by EnableClusterAware used to determine whether a Spring Boot application using Apache Geode should run in local-only mode or client/server.
Since:
1.2.0
See Also:
  • Annotation
  • InetSocketAddress
  • Socket
  • SocketAddress
  • ClientCache
  • ClientRegionShortcut
  • Pool
  • PoolManager
  • CacheServer
  • ApplicationListener
  • ConfigurableApplicationContext
  • Condition
  • ConditionContext
  • Configuration
  • Import
  • ImportAware
  • ContextClosedEvent
  • AnnotationAttributes
  • ConfigurableEnvironment
  • EnumerablePropertySource
  • Environment
  • PropertySource
  • AnnotatedTypeMetadata
  • AnnotationMetadata
  • AbstractAnnotationConfigSupport
  • ConnectionEndpoint
  • ConnectionEndpointList
  • SimpleCacheResolver
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    protected static class 
     
    protected static class 
     
    protected static class 
     

    Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport

    org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport.TypeResolver<T extends Object>
  • Field Summary

    Fields inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport

    CURRENT_THREAD_CONTEXT_CLASS_LOADER, INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Class<? extends Annotation>
    protected boolean
    isStrictMatchConfigured(org.springframework.core.annotation.AnnotationAttributes enableClusterAwareAttributes)
     
    void
    setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)

    Methods inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport

    arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, gatewayReceiverProperty, gatewaySenderProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationTypeName, getAnnotationTypeSimpleName, getBeanClassLoader, getBeanFactory, getEnvironment, getEvaluationContext, getLogger, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLogger, pdxProperty, poolProperty, propertyName, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ClusterAwareConfiguration

      public ClusterAwareConfiguration()
  • Method Details

    • getAnnotationType

      @NonNull protected Class<? extends Annotation> getAnnotationType()
      Specified by:
      getAnnotationType in class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
    • isStrictMatchConfigured

      protected boolean isStrictMatchConfigured(@NonNull org.springframework.core.annotation.AnnotationAttributes enableClusterAwareAttributes)
    • setImportMetadata

      public void setImportMetadata(@NonNull org.springframework.core.type.AnnotationMetadata importMetadata)
      Specified by:
      setImportMetadata in interface org.springframework.context.annotation.ImportAware