|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.JmxHelper
public class JmxHelper
| Field Summary | |
|---|---|
static String |
DEFAULT_CONFIG_FILE
|
static String |
DEFAULT_FILE
Default name of the properties file. |
static String |
DEFAULT_URL
Default JMX URL. |
| Constructor Summary | |
|---|---|
JmxHelper()
|
|
| Method Summary | |
|---|---|
static Context |
getContext()
|
static String |
getDefaultJmxTarget()
The JMX URL of the default target. |
static String |
getDefaultTarget()
|
static String |
getJmxPassword(String jmxUrl)
|
static String |
getJmxProtocolProviderPackage(String jmxUrl)
|
static String[] |
getJmxTargets()
|
static String[] |
getJmxTargets(String[] proposed)
Gets the names of all JMX targets matching a certain criteria. |
static String |
getJmxUrl(String name)
Gets the JMX URL for a given target. |
static String |
getJmxUser(String jmxUrl)
|
static String |
getTargetName(String jmxUrl)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_URL
public static final String DEFAULT_FILE
public static final String DEFAULT_CONFIG_FILE
| Constructor Detail |
|---|
public JmxHelper()
| Method Detail |
|---|
public static Context getContext()
public static String getDefaultJmxTarget()
public static String getDefaultTarget()
public static String getJmxUser(String jmxUrl)
jmxUrl - A given jmx URL
public static String getJmxPassword(String jmxUrl)
jmxUrl - A given jmx URL
public static String getJmxProtocolProviderPackage(String jmxUrl)
jmxUrl - jmxUrl A given jmx URL
public static String getJmxUrl(String name)
name - Name of the target.
public static String[] getJmxTargets()
public static String getTargetName(String jmxUrl)
jmxUrl - A jmx url for a target that maybe defined in the configuration file.
public static String[] getJmxTargets(String[] proposed)
proposed - Criteria.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||