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

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

public class MBeanInfoHelper
extends Object

Simple helper bean for dealing with MBeanInfo. Helps dodge such wacky APIs like HashMap getKeyPropertyLIst() and wrap in convenient ways for working in Velocity

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

Constructor Summary
MBeanInfoHelper(MBeanServerHelper kernelHelper, String name)
           
 
Method Summary
 SortedMap getAttributes()
           
 String getCanonicalName()
           
 String getClassName()
           
 String getDescription()
           
 String getDomain()
           
 List getKeyProperties()
          Returns the key properties and values a list of maps, w/ 'key' and 'value' as entryies in each map.
 javax.management.MBeanOperationInfo[] getOperationInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanInfoHelper

public MBeanInfoHelper(MBeanServerHelper kernelHelper,
                       String name)
                throws Exception
Method Detail

getCanonicalName

public String getCanonicalName()

getDomain

public String getDomain()

getKeyProperties

public List getKeyProperties()
Returns the key properties and values a list of maps, w/ 'key' and 'value' as entryies in each map. Makes easy in vel to do #foreach($item in $list) $item.key $item.value #end


getDescription

public String getDescription()

getClassName

public String getClassName()

getAttributes

public SortedMap getAttributes()

getOperationInfo

public javax.management.MBeanOperationInfo[] getOperationInfo()


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