@Configuration public class LocatorApplicationConfiguration extends AbstractAnnotationConfigSupport implements ImportAware
@Configuration class used to configure and bootstrap an Apache Geode
or Pivotal GemFire Locator.Annotation,
Locator,
BeanFactoryPostProcessor,
Bean,
Configuration,
ImportAware,
AnnotationAttributes,
AnnotationMetadata,
CacheFactoryBean,
LocatorFactoryBean,
ClientCacheFactoryBean,
LocatorConfigurer,
AbstractAnnotationConfigSupportAbstractAnnotationConfigSupport.TypeResolver<T>| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_LOG_LEVEL |
static String |
DEFAULT_NAME |
static int |
DEFAULT_PORT |
static boolean |
DEFAULT_USE_BEAN_FACTORY_LOCATOR |
static boolean |
DEFAULT_USE_CLUSTER_CONFIGURATTION_SERVICE |
protected static String |
LOCATOR_APPLICATION_MUTEX_ERROR_MESSAGE |
CURRENT_THREAD_CONTEXT_CLASS_LOADER, INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX| Constructor and Description |
|---|
LocatorApplicationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends Annotation> |
getAnnotationType()
Returns the
LocatorApplication annotation used to configure and bootstrap a Locator-based,
Spring application. |
String |
getBindAddress() |
String |
getHostnameForClients() |
String |
getLocators() |
String |
getLogLevel() |
String |
getName() |
int |
getPort() |
boolean |
isUseBeanFactoryLocator() |
boolean |
isUseClusterConfigurationService() |
LocatorFactoryBean |
locatorApplication() |
void |
setBindAddress(String bindAddress) |
void |
setHostnameForClients(String hostnameForClients) |
void |
setImportMetadata(AnnotationMetadata importMetadata)
Process the
Annotation metadata from the LocatorApplication annotation. |
void |
setLocators(String locators) |
void |
setLogLevel(String logLevel) |
void |
setName(String name) |
void |
setPort(int port) |
void |
setUseBeanFactoryLocator(boolean useBeanFactoryLocator) |
void |
setUseClusterConfigurationService(boolean useClusterConfigurationService) |
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, statsPropertypublic static final boolean DEFAULT_USE_BEAN_FACTORY_LOCATOR
public static final boolean DEFAULT_USE_CLUSTER_CONFIGURATTION_SERVICE
public static final int DEFAULT_PORT
public static final String DEFAULT_LOG_LEVEL
public static final String DEFAULT_NAME
protected static final String LOCATOR_APPLICATION_MUTEX_ERROR_MESSAGE
@NonNull protected Class<? extends Annotation> getAnnotationType()
LocatorApplication annotation used to configure and bootstrap a Locator-based,
Spring application.getAnnotationType in class AbstractAnnotationConfigSupportLocatorApplication annotation type.LocatorApplicationpublic void setImportMetadata(@NonNull AnnotationMetadata importMetadata)
Annotation metadata from the LocatorApplication annotation.setImportMetadata in interface ImportAwareimportMetadata - AnnotationMetadata containing metadata from the LocatorApplication
annotation annotated on the Spring application Configuration Class.AnnotationMetadata@Bean public LocatorFactoryBean locatorApplication()
public void setPort(int port)
public int getPort()
public boolean isUseBeanFactoryLocator()
public void setUseBeanFactoryLocator(boolean useBeanFactoryLocator)
public void setUseClusterConfigurationService(boolean useClusterConfigurationService)
public boolean isUseClusterConfigurationService()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.