Class AnnotatedStandardMBean<B>

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

    public class AnnotatedStandardMBean<B>
    extends javax.management.StandardMBean
    MBean that supports the Description annotation.
    Since:
    12.2.0
    Version:
    $Revision$ $Date$
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotatedStandardMBean​(B implementation, java.lang.Class<B> mbeanInterface)
      Creates a new instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getDescription​(javax.management.MBeanAttributeInfo info)  
      protected java.lang.String getDescription​(javax.management.MBeanInfo beanInfo)  
      protected java.lang.String getDescription​(javax.management.MBeanOperationInfo op)  
      protected java.lang.String getDescription​(javax.management.MBeanOperationInfo op, javax.management.MBeanParameterInfo param, int paramNo)  
      protected java.lang.String getParameterName​(javax.management.MBeanOperationInfo op, javax.management.MBeanParameterInfo param, int paramNo)  
      • Methods inherited from class javax.management.StandardMBean

        cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
      • Methods inherited from class java.lang.Object

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

      • AnnotatedStandardMBean

        public AnnotatedStandardMBean​(B implementation,
                                      java.lang.Class<B> mbeanInterface)
                               throws javax.management.NotCompliantMBeanException
        Creates a new instance
        Parameters:
        implementation - the mbean implementation
        mbeanInterface - the mbean interface
        Throws:
        javax.management.NotCompliantMBeanException
        Since:
        12.2.0
    • Method Detail

      • getDescription

        protected java.lang.String getDescription​(javax.management.MBeanInfo beanInfo)
        Overrides:
        getDescription in class javax.management.StandardMBean
      • getDescription

        protected java.lang.String getDescription​(javax.management.MBeanAttributeInfo info)
        Overrides:
        getDescription in class javax.management.StandardMBean
      • getDescription

        protected java.lang.String getDescription​(javax.management.MBeanOperationInfo op)
        Overrides:
        getDescription in class javax.management.StandardMBean
      • getDescription

        protected java.lang.String getDescription​(javax.management.MBeanOperationInfo op,
                                                  javax.management.MBeanParameterInfo param,
                                                  int paramNo)
        Overrides:
        getDescription in class javax.management.StandardMBean
      • getParameterName

        protected java.lang.String getParameterName​(javax.management.MBeanOperationInfo op,
                                                    javax.management.MBeanParameterInfo param,
                                                    int paramNo)
        Overrides:
        getParameterName in class javax.management.StandardMBean