@Configuration public class ClusterConfigurationConfiguration extends AbstractAnnotationConfigSupport implements org.springframework.context.annotation.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
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 |
---|---|
void |
gemfireClusterSchemaCreationHandler(org.springframework.context.event.ContextRefreshedEvent event) |
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(org.springframework.core.type.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, componentSslProperty, 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(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata
in interface org.springframework.context.annotation.ImportAware
@EventListener public void gemfireClusterSchemaCreationHandler(org.springframework.context.event.ContextRefreshedEvent event)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.