public static enum JvmResourceKey.Type extends Enum<JvmResourceKey.Type>
| Enum Constant and Description |
|---|
ConnectorAddress
Manually added JVM's use the JMX connector address as the key, e.g.
|
Explicit
This format is used when a key is explicitly specified on the JVM's command line via the org.rhq.resourceKey
sysprop; the main class name is also included, e.g.
|
JmxRemotingPort
The successor of the legacy format; includes the main class name in addition to the JMX remoting port,
e.g.
|
Legacy
The legacy format is a simple integer representing the JVM's JMX remoting port, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static JvmResourceKey.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JvmResourceKey.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JvmResourceKey.Type Legacy
public static final JvmResourceKey.Type ConnectorAddress
public static final JvmResourceKey.Type JmxRemotingPort
public static final JvmResourceKey.Type Explicit
public static JvmResourceKey.Type[] values()
for (JvmResourceKey.Type c : JvmResourceKey.Type.values()) System.out.println(c);
public static JvmResourceKey.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.