@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=LocatorConfiguration.class) @UsesGemFireProperties public @interface EnableLocator
EnableLocatorannotation configures a Spring
Classto start an embedded Pivotal GemFire/Apache Geode
Locatorservice 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
Annotationis present, thereby serving as a toggle.
|Modifier and Type||Optional Element and Description|
Configures the host/IP address on which the embedded Locator service will bind to for accepting connections from clients sending Locator requests.
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–2019 Pivotal Software, Inc.. All rights reserved.