|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<JvmResourceKey.Type>
org.rhq.plugins.jmx.util.JvmResourceKey.Type
public static enum JvmResourceKey.Type
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JvmResourceKey.Type Legacy
public static final JvmResourceKey.Type ConnectorAddress
public static final JvmResourceKey.Type JmxRemotingPort
public static final JvmResourceKey.Type Explicit
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||