org.realityforge.metaclass.jmx
Class MBeanInfoBuilder

java.lang.Object
  |
  +--org.realityforge.metaclass.jmx.MBeanInfoBuilder

public class MBeanInfoBuilder
extends Object

Utility class to create ModelMBeanInfo objects from classes annotated with MetaClass attributes. See documentation for description of valid attributes.

Version:
$Revision: 1.1 $ $Date: 2003/10/15 02:10:19 $
Author:
Peter Donald

Constructor Summary
MBeanInfoBuilder()
           
 
Method Summary
 javax.management.modelmbean.ModelMBeanInfo[] buildMBeanInfos(Class type)
          Create a set of ModelMBeanInfo objects for specified class if class is annotated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanInfoBuilder

public MBeanInfoBuilder()
Method Detail

buildMBeanInfos

public javax.management.modelmbean.ModelMBeanInfo[] buildMBeanInfos(Class type)
                                                             throws Exception
Create a set of ModelMBeanInfo objects for specified class if class is annotated.

Parameters:
type - the class
Returns:
the ModelMBeanInfo objects
Throws:
Exception - if unable to get resolve specified types


Copyright © 2003 The Spice Group. All Rights Reserved.