org.hyperic.hq.product.jmx
Class MxUtil
java.lang.Object
org.hyperic.hq.product.jmx.MxUtil
public class MxUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_JMX_URL
public static final String PROP_JMX_URL
- See Also:
- Constant Field Values
PROP_JMX_PORT
public static final String PROP_JMX_PORT
- See Also:
- Constant Field Values
PROP_JMX_USERNAME
public static final String PROP_JMX_USERNAME
- See Also:
- Constant Field Values
PROP_JMX_PASSWORD
public static final String PROP_JMX_PASSWORD
- See Also:
- Constant Field Values
PROP_JMX_PROVIDER_PKGS
public static final String PROP_JMX_PROVIDER_PKGS
- See Also:
- Constant Field Values
MxUtil
public MxUtil()
getCachedMBeanConnector
public static JMXConnector getCachedMBeanConnector(Properties config)
throws MalformedURLException,
IOException
- Throws:
MalformedURLException
IOException
getMBeanConnector
public static JMXConnector getMBeanConnector(Properties config)
throws MalformedURLException,
IOException
- Throws:
MalformedURLException
IOException
getMBeanServer
public static MBeanServerConnection getMBeanServer(Properties config)
throws MalformedURLException,
IOException
- Throws:
MalformedURLException
IOException
getValue
public static Object getValue(Properties config,
String objectName,
String attribute)
throws MalformedURLException,
MalformedObjectNameException,
IOException,
MBeanException,
AttributeNotFoundException,
InstanceNotFoundException,
ReflectionException,
PluginException
- Throws:
MalformedURLException
MalformedObjectNameException
IOException
MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
PluginException
invoke
public static Object invoke(Properties config,
String objectName,
String method,
Object[] args,
String[] sig)
throws MetricUnreachableException,
MetricNotFoundException,
PluginException
- Throws:
MetricUnreachableException
MetricNotFoundException
PluginException
close
public static void close(JMXConnector connector)
close
public static void close(JMXConnector connector,
String objectName,
String method)
Copyright © 2004-2010 Hyperic, Inc. support@hyperic.net, All Rights Reserved.