org.apache.geronimo.jmxdebug.web.beanlib
Class MBeanServerHelper

java.lang.Object
  extended byorg.apache.geronimo.jmxdebug.web.beanlib.MBeanServerHelper

public class MBeanServerHelper
extends Object

Little helper bean to deal w/ the mbean server

Version:
$Id: MBeanServerHelper.java,v 1.2 2004/07/26 17:14:48 dain Exp $

Constructor Summary
MBeanServerHelper()
           
 
Method Summary
 org.apache.geronimo.kernel.Kernel getKernel()
           
 Collection getMBeans()
          Returns a Collection of InstanceObjects for all mbeans in the server
 Collection getMBeans(String filterString)
          Returns a Collection of InstanceObjects filtered by the input filter
 String getState(javax.management.ObjectName name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanServerHelper

public MBeanServerHelper()
Method Detail

getKernel

public org.apache.geronimo.kernel.Kernel getKernel()

getMBeans

public Collection getMBeans()
Returns a Collection of InstanceObjects for all mbeans in the server

Returns:
Collection of InstanceObjects

getMBeans

public Collection getMBeans(String filterString)
Returns a Collection of InstanceObjects filtered by the input filter

Parameters:
filterString - filter to use. Defaults to *:* if null
Returns:
Collection of InstanceObjects that match the filter

getState

public String getState(javax.management.ObjectName name)


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.