@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Configuration @Import(value=LocatorApplicationConfiguration.class) public @interface LocatorApplication
LocatorApplication
Annotation
enables a Spring Data for Apache Geode & Pivotal GemFire
application to become a Locator
based application.Annotation
,
Documented
,
Inherited
,
Retention
,
Target
,
Locator
,
Configuration
,
Import
,
LocatorApplicationConfiguration
,
GemfireBeanFactoryLocator
Modifier and Type | Optional Element and Description |
---|---|
String |
bindAddress
Configures the hostname or IP address on which the
Locator will bind to for accepting connections
from clients sending Locator requests. |
String |
hostnameForClients
Configures the
hostname used by clients connecting to this Locator . |
String |
locators
Configures the list of
Locators defining the cluster to which this Spring Locator
application will connect. |
String |
logLevel
Configures the log level used to output log messages at Apache Geode / Pivotal GemFire
Locator runtime. |
String |
name
Configures the
name of the Locator application. |
int |
port
Configures the port on which the embedded
Locator service will bind to
listening for client connections sending Locator requests. |
boolean |
useBeanFactoryLocator
Configures the
Locator application with the GemfireBeanFactoryLocator in order to look up
the Spring BeanFactory used to auto-wire, configure and initialize Apache Geode components
created in a non-Spring managed, Apache Geode context (for example: cache.xml). |
boolean |
useClusterConfiguration
Configures whether the Spring-based
Locator will pull configuration metadata from the Apache Geode
cluster-based, Cluster Configuration Service. |
public abstract String bindAddress
Locator
will bind to for accepting connections
from clients sending Locator
requests.
Defaults to localhost.
Use the spring.data.gemfire.locator.bind-address property
in Spring Boot application.properties.public abstract String locators
Locators
defining the cluster to which this Spring Locator
application will connect.
Use spring.data.gemfire.locators property in application.properties.public abstract String logLevel
Locator
runtime.
Defaults to config.
Use spring.data.gemfire.locator.log-level property in application.properties.public abstract int port
Locator
service will bind to
listening for client connections sending Locator
requests.
Defaults to 10334.
Use the spring.data.gemfire.locator.port property
in Spring Boot application.properties.public abstract boolean useBeanFactoryLocator
Locator
application with the GemfireBeanFactoryLocator
in order to look up
the Spring BeanFactory
used to auto-wire, configure and initialize Apache Geode components
created in a non-Spring managed, Apache Geode context (for example: cache.xml).
Defaults to false.
Use spring.data.gemfire.use-bean-factory-locator property in application.properties.public abstract boolean useClusterConfiguration
Locator
will pull configuration metadata from the Apache Geode
cluster-based, Cluster Configuration Service.
Defaults to false.
Use spring.data.gemfire.locator.use-cluster-configuration property
in application.properties.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.