com.fusesource.fmc.restjmx.resources
Class AttributesResource

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

public class AttributesResource
extends java.lang.Object

Represents the MBeans resource

Version:
$Revision: 1.0 $

Constructor Summary
AttributesResource(java.lang.String uriPath, java.lang.String namespace, javax.management.ObjectName objectName, java.util.List<java.lang.String> attributeNames)
           
 
Method Summary
 java.util.List<Attribute> getAttributeList()
           
 java.util.Map<java.lang.String,java.lang.Object[]> getAttributeMap()
           
 AttributeResource getAttributeResource(javax.ws.rs.core.UriInfo info, java.lang.String attributeName)
          Returns the resource for an individual attribute
 Attributes getAttributes()
          Returns a list of the active MBeans available
 java.lang.String getFilter()
           
 java.lang.String getNamespace()
           
 java.lang.String getObjectName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesResource

public AttributesResource(java.lang.String uriPath,
                          java.lang.String namespace,
                          javax.management.ObjectName objectName,
                          java.util.List<java.lang.String> attributeNames)
Method Detail

getAttributeMap

public java.util.Map<java.lang.String,java.lang.Object[]> getAttributeMap()
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

getAttributeResource

public AttributeResource getAttributeResource(@Context
                                              javax.ws.rs.core.UriInfo info,
                                              java.lang.String attributeName)
                                       throws java.lang.Exception
Returns the resource for an individual attribute

Parameters:
info -
attributeName - The attribute name
Throws:
java.lang.Exception

getAttributes

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

Throws:
java.lang.Exception

getNamespace

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

getObjectName

public java.lang.String getObjectName()

getAttributeList

public java.util.List<Attribute> getAttributeList()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

getFilter

public java.lang.String getFilter()


Copyright © 2012 FuseSource. All Rights Reserved.