org.exoplatform.container.jmx
Class ExoMBeanInfoBuilder

java.lang.Object
  extended by org.exoplatform.container.jmx.ExoMBeanInfoBuilder

public class ExoMBeanInfoBuilder
extends java.lang.Object

A class that build mbean meta data suitable for:

The following rules do apply to the class from which meta data are constructed:

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
ExoMBeanInfoBuilder(java.lang.Class clazz)
          Create a new builder.
 
Method Summary
 javax.management.modelmbean.ModelMBeanInfo build()
          Build the info.
 boolean isBuildable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExoMBeanInfoBuilder

public ExoMBeanInfoBuilder(java.lang.Class clazz)
                    throws java.lang.IllegalArgumentException
Create a new builder.

Parameters:
clazz - the clazz
Throws:
java.lang.IllegalArgumentException - if the class is null or is not annotated by Managed
Method Detail

isBuildable

public boolean isBuildable()

build

public javax.management.modelmbean.ModelMBeanInfo build()
                                                 throws java.lang.IllegalStateException
Build the info.

Returns:
returns the info
Throws:
java.lang.IllegalStateException - raised by any build time issue


Copyright © 2010 eXo Platform SAS. All Rights Reserved.