@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
,
AbstractAnnotationConfigSupport
AbstractAnnotationConfigSupport.TypeResolver<T>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LOG_LEVEL |
static String |
DEFAULT_NAME |
static int |
DEFAULT_PORT |
protected static String |
EXCLUSIVE_LOCATOR_APPLICATION_ERROR_MESSAGE |
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 cache application
Annotation type pertaining to this configuration. |
String |
getBindAddress() |
String |
getHostnameForClients() |
String |
getLocators() |
String |
getLogLevel() |
String |
getName() |
int |
getPort() |
LocatorFactoryBean |
locatorApplication() |
void |
setBindAddress(String bindAddress) |
void |
setHostnameForClients(String hostnameForClients) |
void |
setImportMetadata(AnnotationMetadata importMetadata) |
void |
setLocators(String locators) |
void |
setLogLevel(String logLevel) |
void |
setName(String name) |
void |
setPort(int port) |
arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, gatewayReceiverProperty, gatewaySenderProperty, 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, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty
public static final int DEFAULT_PORT
public static final String DEFAULT_LOG_LEVEL
public static final String DEFAULT_NAME
protected static final String EXCLUSIVE_LOCATOR_APPLICATION_ERROR_MESSAGE
protected Class<? extends Annotation> getAnnotationType()
AbstractAnnotationConfigSupport
Annotation
type pertaining to this configuration.getAnnotationType
in class AbstractAnnotationConfigSupport
Annotation
type used by this application.public void setImportMetadata(AnnotationMetadata importMetadata)
setImportMetadata
in interface ImportAware
@Bean public LocatorFactoryBean locatorApplication()
public void setBindAddress(String bindAddress)
public String getBindAddress()
public void setHostnameForClients(String hostnameForClients)
public String getHostnameForClients()
public void setLocators(String locators)
public String getLocators()
public void setLogLevel(String logLevel)
public String getLogLevel()
public void setName(String name)
public String getName()
public void setPort(int port)
public int getPort()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.