Class ExoMBeanInfoBuilder
- java.lang.Object
-
- org.exoplatform.management.jmx.impl.ExoMBeanInfoBuilder
-
public class ExoMBeanInfoBuilder extends Object
A class that build mbean meta data
- Version:
- $Revision$
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description ExoMBeanInfoBuilder(Class clazz)Create a new builder.ExoMBeanInfoBuilder(ManagedTypeMetaData typeMD)
-
-
-
Constructor Detail
-
ExoMBeanInfoBuilder
public ExoMBeanInfoBuilder(Class clazz) throws IllegalArgumentException
Create a new builder.- Parameters:
clazz- the clazz- Throws:
IllegalArgumentException- if the class is null or does not contain meta data
-
ExoMBeanInfoBuilder
public ExoMBeanInfoBuilder(ManagedTypeMetaData typeMD) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-
Method Detail
-
build
public ModelMBeanInfo build() throws IllegalStateException
Build the info.- Returns:
- returns the info
- Throws:
IllegalStateException- raised by any build time issue
-
-