Class LocatorApplicationConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.LocatorApplicationConfiguration
- 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 LocatorApplicationConfiguration
extends AbstractAnnotationConfigSupport
implements org.springframework.context.annotation.ImportAware
Spring
@Configuration
class used to configure and bootstrap an Apache Geode
or Pivotal GemFire Locator
.- Since:
- 2.2.0
- See Also:
-
Annotation
Locator
BeanFactoryPostProcessor
Bean
Configuration
ImportAware
AnnotationAttributes
AnnotationMetadata
CacheFactoryBean
LocatorFactoryBean
ClientCacheFactoryBean
LocatorConfigurer
AbstractAnnotationConfigSupport
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
AbstractAnnotationConfigSupport.TypeResolver<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final int
static final boolean
static final boolean
static final boolean
protected static final String
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends Annotation>
Returns theLocatorApplication
annotation used to configure and bootstrap aLocator
-based, Spring application.getName()
int
getPort()
boolean
boolean
boolean
void
setBindAddress
(String bindAddress) void
setHostnameForClients
(String hostnameForClients) void
setImportMetadata
(org.springframework.core.type.AnnotationMetadata importMetadata) Process theAnnotation
metadata from theLocatorApplication
annotation.void
setLocators
(String locators) void
setLogLevel
(String logLevel) void
void
setPort
(int port) void
setUseBeanFactoryLocator
(boolean useBeanFactoryLocator) void
setUseClusterConfigurationService
(boolean useClusterConfigurationService) void
setUseUDPMembershipMessenger
(boolean useUDPMembershipMessenger) 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
-
Field Details
-
DEFAULT_USE_BEAN_FACTORY_LOCATOR
public static final boolean DEFAULT_USE_BEAN_FACTORY_LOCATOR- See Also:
-
DEFAULT_USE_CLUSTER_CONFIGURATTION_SERVICE
public static final boolean DEFAULT_USE_CLUSTER_CONFIGURATTION_SERVICE- See Also:
-
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
-
DEFAULT_LOG_LEVEL
- See Also:
-
DEFAULT_NAME
- See Also:
-
DEFAULT_USE_UDP_MEMBERSHIP_MESSENGER
public static final boolean DEFAULT_USE_UDP_MEMBERSHIP_MESSENGER- See Also:
-
LOCATOR_APPLICATION_MUTEX_ERROR_MESSAGE
- See Also:
-
-
Constructor Details
-
LocatorApplicationConfiguration
public LocatorApplicationConfiguration()
-
-
Method Details
-
getAnnotationType
Returns theLocatorApplication
annotation used to configure and bootstrap aLocator
-based, Spring application.- Specified by:
getAnnotationType
in classAbstractAnnotationConfigSupport
- Returns:
- the
LocatorApplication
annotationtype
. - See Also:
-
setImportMetadata
public void setImportMetadata(@NonNull org.springframework.core.type.AnnotationMetadata importMetadata) Process theAnnotation
metadata from theLocatorApplication
annotation.- Specified by:
setImportMetadata
in interfaceorg.springframework.context.annotation.ImportAware
- Parameters:
importMetadata
-AnnotationMetadata
containing metadata from theLocatorApplication
annotation annotated on the Spring applicationConfiguration
Class
.- See Also:
-
AnnotationMetadata
-
locatorApplication
-
setBindAddress
-
getBindAddress
-
setHostnameForClients
-
getHostnameForClients
-
setLocators
-
getLocators
-
setLogLevel
-
getLogLevel
-
setName
-
getName
-
setPort
public void setPort(int port) -
getPort
public int getPort() -
isUseBeanFactoryLocator
public boolean isUseBeanFactoryLocator() -
setUseBeanFactoryLocator
public void setUseBeanFactoryLocator(boolean useBeanFactoryLocator) -
setUseClusterConfigurationService
public void setUseClusterConfigurationService(boolean useClusterConfigurationService) -
setUseUDPMembershipMessenger
public void setUseUDPMembershipMessenger(boolean useUDPMembershipMessenger) -
isUseClusterConfigurationService
public boolean isUseClusterConfigurationService() -
isUseUDPMembershipMessenger
public boolean isUseUDPMembershipMessenger()
-