@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=LocatorConfiguration.class) @UsesGemFireProperties public @interface EnableLocator
EnableLocator
annotation configures a Spring @Configuration
annotated Class
to start an embedded Pivotal GemFire/Apache Geode Locator
service in this cluster member.
However, the embedded Pivotal GemFire/Apache Geode Locator service can be enabled/disabled externally
in application.properties with the spring.data.gemfire.service.http.enabled property
even when this Annotation
is present, thereby serving as a toggle.Annotation
,
Import
,
LocatorConfiguration
Modifier and Type | Optional Element and Description |
---|---|
String |
host
Configures the host/IP address on which the embedded Locator service will bind to for accepting connections
from clients sending Locator requests.
|
int |
port
Configures the port on which the embedded Locator service will bind to listening for client connections
sending Locator requests.
|
public abstract String host
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.