public static enum UsesJmx.JmxAgentModes extends java.lang.Enum<UsesJmx.JmxAgentModes>
Enum Constant and Description |
---|
AUTODETECT
Auto-detect the agent to use based on location.
|
JMX_RMI
As with
UsesJmx#JMX_RMI_CUSTOM_AGENT but no custom agent requred, entity must handle pots correctly. |
JMX_RMI_CUSTOM_AGENT
JMX over RMI custom agent which permits access through a known
UsesJmx.RMI_REGISTRY_PORT , redirected to a known UsesJmx.JMX_PORT . |
JMXMP
JMXMP which permits firewall access through a single port
UsesJmx.JMX_PORT . |
JMXMP_AND_RMI
Start
JMXMP along with an RMI Registry on UsesJmx.RMI_REGISTRY_PORT , redirecting to an anonymous high-numbered port as the RMI server. |
NONE
Do not install a JMX agent.
|
Modifier and Type | Method and Description |
---|---|
static UsesJmx.JmxAgentModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UsesJmx.JmxAgentModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsesJmx.JmxAgentModes AUTODETECT
JMXMP
except at localhost which uses JMX_RMI_CUSTOM_AGENT
.public static final UsesJmx.JmxAgentModes JMXMP
UsesJmx.JMX_PORT
.public static final UsesJmx.JmxAgentModes JMXMP_AND_RMI
JMXMP
along with an RMI Registry on UsesJmx.RMI_REGISTRY_PORT
, redirecting to an anonymous high-numbered port as the RMI server.public static final UsesJmx.JmxAgentModes JMX_RMI_CUSTOM_AGENT
UsesJmx.RMI_REGISTRY_PORT
, redirected to a known UsesJmx.JMX_PORT
.
Both ports must be opened on the firewall, and the same hostname resolvable on the target machine and by the clientpublic static final UsesJmx.JmxAgentModes JMX_RMI
UsesJmx#JMX_RMI_CUSTOM_AGENT
but no custom agent requred, entity must handle pots correctly.public static final UsesJmx.JmxAgentModes NONE
UsesJmx.RMI_REGISTRY_PORT
, redirected to an unknown port for JMX.public static UsesJmx.JmxAgentModes[] values()
for (UsesJmx.JmxAgentModes c : UsesJmx.JmxAgentModes.values()) System.out.println(c);
public static UsesJmx.JmxAgentModes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null