org.jboss.jmx.adaptor.control
Class Server
java.lang.Object
org.jboss.jmx.adaptor.control.Server
public class Server
- extends Object
Utility methods related to the MBeanServer interface
- Version:
- $Revision: 81038 $
- Author:
- Scott.Stark@jboss.org, Dimitris Andreadis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Server
public Server()
getMBeanServer
public static MBeanServer getMBeanServer()
getDomainData
public static Iterator getDomainData(String filter)
throws JMException
- Throws:
JMException
getMBeanData
public static MBeanData getMBeanData(String name)
throws JMException
- Throws:
JMException
getMBeanAttributeObject
public static Object getMBeanAttributeObject(String name,
String attrName)
throws JMException
- Throws:
JMException
getMBeanAttribute
public static String getMBeanAttribute(String name,
String attrName)
throws JMException
- Throws:
JMException
getMBeanAttributeResultInfo
public static AttrResultInfo getMBeanAttributeResultInfo(String name,
MBeanAttributeInfo attrInfo)
throws JMException
- Throws:
JMException
setAttributes
public static AttributeList setAttributes(String name,
HashMap attributes)
throws JMException
- Throws:
JMException
invokeOp
public static OpResultInfo invokeOp(String name,
int index,
String[] args)
throws JMException
- Throws:
JMException
invokeOpByName
public static OpResultInfo invokeOpByName(String name,
String opName,
String[] argTypes,
String[] args)
throws JMException
- Throws:
JMException
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.