@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=ManagerConfiguration.class) @UsesGemFireProperties public @interface EnableManager
EnableManager
annotation marks a Spring @Configuration
annotated Class
to configure, embed and start a Pivotal GemFire/Apache Geode Manager service in this cluster member.
Automatically sets jmx-manager to true just by specifying this Annotation
on your Spring application @Configuration
annotated Class
.
However, the embedded Pivotal GemFire/Apache Geode Manager can be enabled/disabled externally
in application.properties by using the spring.data.gemfire.manager.enabled property
even when this Annotation
is present, thereby serving as a toggle.Annotation
,
Import
,
ManagerConfiguration
Modifier and Type | Optional Element and Description |
---|---|
String |
accessFile
By default, the JMX Manager will allow full access to all mbeans by any client.
|
String |
bindAddress
By default, the JMX Manager (when configured with a port) will listen on all the local host's addresses.
|
String |
hostnameForClients
Lets you control what hostname will be given to clients that ask the Locator for the location of a JMX Manager.
|
String |
passwordFile
By default, the JMX Manager will allow clients without credentials to connect.
|
int |
port
The port this JMX Manager will listen to for client connections.
|
boolean |
start
If true then this member will start a JMX Manager when it creates a cache.
|
int |
updateRate
The rate, in milliseconds, at which this member will push updates to any JMX Managers.
|
public abstract String accessFile
com.sun.management.jmxremote.access.file
System property. Ignored if jmx-manager
is false or if jmx-manager-port is zero.
Defaults to unset.
Use the spring.data.gemfire.manager.access-file property in application.properties.public abstract String bindAddress
public abstract String hostnameForClients
public abstract String passwordFile
public abstract int port
public abstract boolean start
public abstract int updateRate
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.