com.fusesource.fmc.restjmx.resources
Class MBeansResource

java.lang.Object
  extended by com.fusesource.fmc.restjmx.resources.MBeansResource

public class MBeansResource
extends java.lang.Object

Represents the MBeans resource

Version:
$Revision: 1.0 $

Constructor Summary
MBeansResource(java.lang.String uriPath, java.lang.String pattern, java.lang.String namespace)
           
 
Method Summary
 java.lang.String getFilter()
           
 java.util.List<MBean> getMBeanList()
           
 java.util.Map<java.lang.String,javax.management.ObjectInstance> getMBeanMap()
           
 MBeanResource getMBeanResource(javax.ws.rs.core.UriInfo info, java.lang.String objectName)
          Returns the resource for an individual MBean
 MBeans getMBeans()
          Returns a list of the active MBeans available
 java.lang.String getNamespace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeansResource

public MBeansResource(java.lang.String uriPath,
                      java.lang.String pattern,
                      java.lang.String namespace)
Method Detail

getMBeanMap

public java.util.Map<java.lang.String,javax.management.ObjectInstance> getMBeanMap()
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

getMBeanResource

public MBeanResource getMBeanResource(@Context
                                      javax.ws.rs.core.UriInfo info,
                                      java.lang.String objectName)
                               throws java.lang.Exception
Returns the resource for an individual MBean

Parameters:
objectName - The canonical form of the MBean ObjectName
Throws:
java.lang.Exception

getMBeans

public MBeans getMBeans()
                 throws java.lang.Exception
Returns a list of the active MBeans available

Throws:
java.lang.Exception

getMBeanList

public java.util.List<MBean> getMBeanList()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getFilter

public java.lang.String getFilter()
                           throws java.lang.Exception
Throws:
java.lang.Exception

getNamespace

public java.lang.String getNamespace()
                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012 FuseSource. All Rights Reserved.