Class OpenAnnotatedStandardMBean

  • All Implemented Interfaces:
    javax.management.DynamicMBean, javax.management.MBeanRegistration

    public class OpenAnnotatedStandardMBean
    extends AnnotatedStandardMBean
    The extension of AnnotatedStandardMBean that will generate OpenMBeanInfo. If any exception occur during generation, then MBeanInfo generated by the parent class is returned instead.

    This implementation will look for the required OpenTypeInfo annotation if the data type of attribute, operation or constructor is CompositeData or TabularData. This annotation will provide a class that will be a template to generate the respective CompositeType or TabularType.

    See Also:
    OpenMBeanInfo, AnnotatedStandardMBean, OpenTypeInfo, TabularTypeInfo
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenAnnotatedStandardMBean​(T implementation, java.lang.Class<T> mbeanInterface)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.management.MBeanInfo getMBeanInfo()  
      • Methods inherited from class javax.management.StandardMBean

        getAttribute, getAttributes, getImplementation, getImplementationClass, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OpenAnnotatedStandardMBean

        public OpenAnnotatedStandardMBean​(T implementation,
                                          java.lang.Class<T> mbeanInterface)
                                   throws javax.management.NotCompliantMBeanException
        Throws:
        javax.management.NotCompliantMBeanException
    • Method Detail

      • getMBeanInfo

        public javax.management.MBeanInfo getMBeanInfo()
        Specified by:
        getMBeanInfo in interface javax.management.DynamicMBean
        Overrides:
        getMBeanInfo in class javax.management.StandardMBean