org.hyperic.hq.product.jmx
Class MBeanDumper
java.lang.Object
org.hyperic.hq.product.jmx.MBeanDumper
public class MBeanDumper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_config
protected Properties _config
PROP_JMX_QUERY
protected static final String PROP_JMX_QUERY
- See Also:
- Constant Field Values
MBeanDumper
public MBeanDumper()
isValidObjectName
protected boolean isValidObjectName(String name)
isValidURL
protected boolean isValidURL(String url)
getConfig
protected Properties getConfig(String[] args)
getPropertyMap
protected String[][] getPropertyMap()
getMBeanServer
protected MBeanServerConnection getMBeanServer(Properties config)
throws Exception
- Throws:
Exception
getMBeanInfo
protected MBeanInfo getMBeanInfo(ObjectName obj)
throws Exception
- Throws:
Exception
getAttribute
protected Object getAttribute(ObjectName obj,
String name)
throws Exception
- Throws:
Exception
getQuery
protected ObjectName getQuery()
dump
public void dump(String[] args)
throws Exception
- Throws:
Exception
dump
public void dump(Properties config)
throws Exception
- Throws:
Exception
dump
public void dump(Set beans)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2004-2010 Hyperic, Inc. support@hyperic.net, All Rights Reserved.