com.fusesource.fmc.restjmx.resources
Class NamespacesResource

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

public class NamespacesResource
extends java.lang.Object

Represents the Namespaces resource

Version:
$Revision: 1.0 $

Constructor Summary
NamespacesResource(java.lang.String uriPath, java.util.List<java.lang.String> namespaceNames)
           
 
Method Summary
 java.lang.String getFilter()
           
 NamespaceResource getMBeanResource(javax.ws.rs.core.UriInfo info, java.lang.String namespace)
          Returns the resource for an individual JMX namespace
 java.util.List<Namespace> getNamespaceList()
           
 java.util.Map<java.lang.String,java.lang.String> getNamespaceMap()
           
 Namespaces getNamespaces()
          Returns a list of the active namespaces available
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespacesResource

public NamespacesResource(java.lang.String uriPath,
                          java.util.List<java.lang.String> namespaceNames)
Method Detail

getNamespaceMap

public java.util.Map<java.lang.String,java.lang.String> getNamespaceMap()
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

getMBeanResource

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

Parameters:
namespace - The JMX namespace name
Throws:
java.lang.Exception

getNamespaces

public Namespaces getNamespaces()
                         throws java.lang.Exception
Returns a list of the active namespaces available

Throws:
java.lang.Exception

getNamespaceList

public java.util.List<Namespace> getNamespaceList()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

getFilter

public java.lang.String getFilter()


Copyright © 2012 FuseSource. All Rights Reserved.