Java MBean getAttribute(MBeanServerConnection connection, ObjectName objectName, String attribute)

Here you can find the source of getAttribute(MBeanServerConnection connection, ObjectName objectName, String attribute)

Description

get Attribute

License

Open Source License

Declaration

@SuppressWarnings("unchecked")
    public static <T> T getAttribute(MBeanServerConnection connection, ObjectName objectName, String attribute)
            throws Exception 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.management.MBeanServerConnection;

import javax.management.ObjectName;

public class Main {
    @SuppressWarnings("unchecked")
    public static <T> T getAttribute(MBeanServerConnection connection, ObjectName objectName, String attribute)
            throws Exception {
        return (T) connection.getAttribute(objectName, attribute);
    }/*  w  w w.jav  a 2  s.  co m*/
}

Related

  1. findMBean(MBeanServer mbs, ObjectName queryName)
  2. findMBeanServer(String agentId)
  3. findMBeanServerForAgentId(String agentId)
  4. getAttribute(MBeanInfo info, String attrName)
  5. getAttribute(MBeanServer mbeanServer, ObjectName objectName, String attributeName)
  6. getAttribute(ObjectName on, MBeanServerConnection server, String name)
  7. getClassFromInfo(MBeanAttributeInfo attributeInfo)
  8. getCompatibleData(Object object, MBeanParameterInfo beanParameterInfo)
  9. getDescription(MBeanFeatureInfo element)