com.gemstone.gemfire.admin.jmx
Interface AgentConfig

A configuration object for a JMX administration agent that is hosted by a GemFire application VM. A file named
"agent.properties" can be used to
override the default values of AgentConfig attributes.
The "gfAgentPropertyFile" system
property can be used to specify an agent properties file other
than "agent.properties". System properties prefixed with
"gemfire.agent." can be used to
override the values in the properties file. For instance
"-Dgemfire.agent.http-port=8081" can be used to override the
default port for the HTTP adapter. Configuration related to the
distributed system that the JMX agent administers is inherited from
and described in AgentConfig's superinterface, DistributedSystemConfig.

An AgentConfig can be modified using a number of
mutator methods until it is used to create an Agent.
After that, attempts to modify most attributes in the
AgentConfig will result in an IllegalStateException being thrown. If you wish to use the same
AgentConfig to configure multiple Agents,
a copy of the AgentConfig object can be made by
invoking its clone() method.

These parameters configure sockets that are created by the GemFire
JMX Agent regardless of which adapters are enabled. These setting
apply to all adapters. For example, if clients connect to the RMI
adapter using SSL, then clients must also connect to the HTTP
adapter using SSL (HTTPS). Note that these configuration
attributes do not effect how the agent connects to the
distributed system it administers, only how JMX clients connect to
the agent.

Description: the machine name or IP address to which
the HTTP listening socket should be bound. If this value is
"localhost", then the socket will be bound to the loopback
address (127.0.0.1) and the adapter will only be accessible via
the URL http://localhost:8080.