io.airlift.jmx
Class MBeanResource

java.lang.Object
  extended by io.airlift.jmx.MBeanResource

public class MBeanResource
extends Object


Constructor Summary
MBeanResource(MBeanServer mbeanServer, org.codehaus.jackson.map.ObjectMapper objectMapper)
           
 
Method Summary
 MBeanRepresentation getMBean(ObjectName objectName)
           
 List<MBeanRepresentation> getMBeans()
           
 String getMBeansUi()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanResource

@Inject
public MBeanResource(MBeanServer mbeanServer,
                            org.codehaus.jackson.map.ObjectMapper objectMapper)
Method Detail

getMBeans

public List<MBeanRepresentation> getMBeans()
                                    throws JMException
Throws:
JMException

getMBeansUi

public String getMBeansUi()
                   throws Exception
Throws:
Exception

getMBean

public MBeanRepresentation getMBean(ObjectName objectName)
                             throws JMException
Throws:
JMException


Copyright © 2010-2012 Airlift. All Rights Reserved.