@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.GemFireCache
,
Region
,
Index
,
BeanPostProcessor
,
Bean
,
Configuration
,
ImportAware
,
EventListener
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 String |
DEFAULT_MANAGEMENT_HTTP_HOST |
protected static int |
DEFAULT_MANAGEMENT_HTTP_PORT |
protected static boolean |
DEFAULT_MANAGEMENT_USE_HTTP |
INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
Constructor and Description |
---|
ClusterConfigurationConfiguration() |
Modifier and Type | Method and Description |
---|---|
ClusterConfigurationConfiguration.ClusterSchemaObjectInitializer |
gemfireClusterSchemaObjectInitializer(org.apache.geode.cache.GemFireCache gemfireCache) |
protected Class<? extends Annotation> |
getAnnotationType()
Returns the cache application
Annotation type pertaining to this configuration. |
protected Optional<String> |
getManagementHttpHost() |
protected Optional<Integer> |
getManagementHttpPort() |
protected Optional<Boolean> |
getManagementUseHttp() |
protected Optional<org.apache.geode.cache.RegionShortcut> |
getServerRegionShortcut() |
protected String |
resolveManagementHttpHost() |
protected int |
resolveManagementHttpPort() |
protected boolean |
resolveManagementUseHttp() |
protected org.apache.geode.cache.RegionShortcut |
resolveServerRegionShortcut() |
void |
setImportMetadata(AnnotationMetadata importMetadata) |
protected void |
setManagementHttpHost(String hostname) |
protected void |
setManagementHttpPort(Integer managementHttpPort) |
protected void |
setManagementUseHttp(Boolean useHttp) |
protected void |
setServerRegionShortcut(org.apache.geode.cache.RegionShortcut regionShortcut) |
arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationTypeName, getAnnotationTypeSimpleName, getBeanClassLoader, getBeanFactory, getEnvironment, getEvaluationContext, getLog, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty
protected static final boolean DEFAULT_MANAGEMENT_USE_HTTP
protected static final int DEFAULT_MANAGEMENT_HTTP_PORT
protected static final String DEFAULT_MANAGEMENT_HTTP_HOST
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 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(org.apache.geode.cache.GemFireCache gemfireCache)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.