@Configuration public class ClusterConfigurationConfiguration extends AbstractAnnotationConfigSupport implements ImportAware
@Configuration
class defining Spring beans that will record the creation of
Apache Geode / Pivotal GemFire Regions
defined in Spring config (i.e. XML, Java or by Annotations)
as Spring beans in the Spring container.Annotation
,
GemFireCache
,
Region
,
ClientCache
,
Index
,
ListableBeanFactory
,
BeanPostProcessor
,
Bean
,
Configuration
,
ImportAware
,
EventListener
,
AnnotationAttributes
,
Environment
,
AnnotationMetadata
,
GemfireAdminOperations
,
AbstractAnnotationConfigSupport
,
ClientHttpRequestInterceptor
Modifier and Type | Class and Description |
---|---|
static class |
ClusterConfigurationConfiguration.ClusterSchemaObjectInitializer |
static class |
ClusterConfigurationConfiguration.SchemaObjectContext |
AbstractAnnotationConfigSupport.TypeResolver<T>
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEFAULT_HTTP_FOLLOW_REDIRECTS |
protected static boolean |
DEFAULT_HTTP_REQUEST_INTERCEPTORS_ENABLED |
protected static String |
DEFAULT_MANAGEMENT_HTTP_HOST |
protected static int |
DEFAULT_MANAGEMENT_HTTP_PORT |
protected static boolean |
DEFAULT_MANAGEMENT_REQUIRE_HTTPS |
protected static boolean |
DEFAULT_MANAGEMENT_USE_HTTP |
protected static String |
HTTP_FOLLOW_REDIRECTS_PROPERTY |
protected static String |
HTTP_SCHEME |
protected static String |
HTTPS_SCHEME |
CURRENT_THREAD_CONTEXT_CLASS_LOADER, INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
Constructor and Description |
---|
ClusterConfigurationConfiguration() |
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, redisServiceProperty, 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
protected static final boolean DEFAULT_HTTP_FOLLOW_REDIRECTS
protected static final boolean DEFAULT_HTTP_REQUEST_INTERCEPTORS_ENABLED
protected static final boolean DEFAULT_MANAGEMENT_USE_HTTP
protected static final boolean DEFAULT_MANAGEMENT_REQUIRE_HTTPS
protected static final int DEFAULT_MANAGEMENT_HTTP_PORT
protected static final String DEFAULT_MANAGEMENT_HTTP_HOST
protected static final String HTTP_FOLLOW_REDIRECTS_PROPERTY
protected static final String HTTP_SCHEME
protected static final String HTTPS_SCHEME
protected Class<? extends Annotation> getAnnotationType()
AbstractAnnotationConfigSupport
Annotation
type pertaining to this configuration.getAnnotationType
in class AbstractAnnotationConfigSupport
Annotation
type used by this application.protected void setManagementHttpHost(String hostname)
protected String resolveManagementHttpHost()
protected void setManagementHttpPort(Integer managementHttpPort)
protected int resolveManagementHttpPort()
protected void setManagementHttpEnableInterceptors(Boolean enableInterceptors)
protected Optional<Boolean> getManagementHttpEnableInterceptors()
protected boolean resolveManagementHttpEnableInterceptors()
protected void setManagementHttpFollowRedirects(Boolean followRedirects)
protected boolean resolveManagementHttpFollowRedirects()
protected void setManagementRequireHttps(Boolean requireHttps)
protected boolean resolveManagementRequireHttps()
protected void setManagementUseHttp(Boolean useHttp)
protected boolean resolveManagementUseHttp()
protected void setServerRegionShortcut(org.apache.geode.cache.RegionShortcut regionShortcut)
protected Optional<org.apache.geode.cache.RegionShortcut> getServerRegionShortcut()
protected org.apache.geode.cache.RegionShortcut resolveServerRegionShortcut()
public void setImportMetadata(AnnotationMetadata importMetadata)
setImportMetadata
in interface ImportAware
@Bean public ClusterConfigurationConfiguration.ClusterSchemaObjectInitializer gemfireClusterSchemaObjectInitializer(Environment environment, org.apache.geode.cache.GemFireCache gemfireCache)
protected List<ClientHttpRequestInterceptor> resolveClientHttpRequestInterceptors(boolean enableInterceptors)
List
of declared and registered ClientHttpRequestInterceptor
beans.ClientHttpRequestInterceptor
,
List
protected List<RestTemplateConfigurer> resolveRestTemplateConfigurers()
List
of declared and registered RestTemplateConfigurer
beans.RestTemplateConfigurer
,
List
protected GemfireAdminOperations resolveGemfireAdminOperations(Environment environment, org.apache.geode.cache.client.ClientCache clientCache)
GemfireAdminOperations
object from the Spring ApplicationContext
which is used to create Apache Geode or Pivotal GemFire schema objects.environment
- reference to the Environment
.clientCache
- reference to the ClientCache
.GemfireAdminOperations
instance.Environment
,
GemfireAdminOperations
,
ClientCache
,
newGemfireAdminOperations(Environment, ClientCache)
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.