com.fusesource.fmc.restjmx.resources
Class MBeansResource
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeansResource
public MBeansResource(java.lang.String uriPath,
java.lang.String pattern,
java.lang.String namespace)
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.