Class LocatorsConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.geode.config.annotation.LocatorsConfiguration
- 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
public class LocatorsConfiguration
extends org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
implements org.springframework.context.annotation.ImportAware
The
LocatorsConfiguration class is a Spring Configuration class used to configure Apache Geode
locators and/or remote-locators properties used by a peer Cache member
to join a cluster of servers when using the P2P topology.
The remote-locators property is used to configure the Locators that a cluster will use in order to
connect to a remote site in a multi-site (WAN) topology configuration. To use Locators in a WAN configuration,
you must specify a unique distributed system ID (distributed-system-id) for the local cluster
and remote Locator(s) for the remote clusters to which you will connect.- Since:
- 1.0.0
- See Also:
-
CacheBeanConfigurationImportAwareAnnotationAttributesAnnotationMetadataPeerCacheConfigurerAbstractAnnotationConfigSupportUseLocators
-
Nested Class Summary
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
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends Annotation>protected org.slf4j.LoggervoidsetImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) protected voidsetLocators(String locators) protected voidsetRemoteLocators(String remoteLocators) 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, 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
-
Field Details
-
DEFAULT_LOCATORS
- See Also:
-
DEFAULT_REMOTE_LOCATORS
- See Also:
-
LOCATORS_PROPERTY
- See Also:
-
REMOTE_LOCATORS_PROPERTY
- See Also:
-
-
Constructor Details
-
LocatorsConfiguration
public LocatorsConfiguration()
-
-
Method Details
-
getAnnotationType
- Specified by:
getAnnotationTypein classorg.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
-
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) - Specified by:
setImportMetadatain interfaceorg.springframework.context.annotation.ImportAware
-
setLocators
-
getLocators
-
getLogger
protected org.slf4j.Logger getLogger()- Overrides:
getLoggerin classorg.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
-
setRemoteLocators
-
getRemoteLocators
-