org.qi4j.library.jmx

## Class ModelMBeanBuilder

- java.lang.Object
- - org.qi4j.library.jmx.ModelMBeanBuilder

-     public class ModelMBeanBuilder
      extends Object

  Helper builder for ModelMBeans

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ModelMBeanBuilder(ObjectName objectName, String displayName, String className)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ModelMBeanBuilder` | `attribute(String name, String displayName, String type, String description, String getMethod, String setMethod)`
    `ModelMBeanAttributeInfo` | `getAttribute(String name)`
    `RequiredModelMBean` | `newModelMBean()`
    `ModelMBeanBuilder` | `operation(String name, String description, String returnType, int impact, MBeanParameterInfo... parameters)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ModelMBeanBuilder

          public ModelMBeanBuilder(ObjectName objectName,
                           String displayName,
                           String className)

  - ### Method Detail

    - #### attribute

          public ModelMBeanBuilder attribute(String name,
                                    String displayName,
                                    String type,
                                    String description,
                                    String getMethod,
                                    String setMethod)

    - #### getAttribute

          public ModelMBeanAttributeInfo getAttribute(String name)

    - #### operation

          public ModelMBeanBuilder operation(String name,
                                    String description,
                                    String returnType,
                                    int impact,
                                    MBeanParameterInfo... parameters)

    - #### newModelMBean

          public RequiredModelMBean newModelMBean()
                                           throws MBeanException

      Throws:
        `MBeanException`