Class HybrisStandardMBean<T>

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

    public class HybrisStandardMBean<T>
    extends javax.management.StandardMBean
    Wrapper for a standard mbean, used instead of it. Provides custom set of MBeanInfo.
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javax.management.MBeanInfo getCachedMBeanInfo()  
      javax.management.MBeanInfo getMBeanInfo()  
      void setCustomMBeanInfo​(javax.management.MBeanInfo info)  
      • Methods inherited from class javax.management.StandardMBean

        cacheMBeanInfo, getAttribute, getAttributes, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, 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

      • HybrisStandardMBean

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

      • setCustomMBeanInfo

        public void setCustomMBeanInfo​(javax.management.MBeanInfo info)
      • getMBeanInfo

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

        protected javax.management.MBeanInfo getCachedMBeanInfo()
        Overrides:
        getCachedMBeanInfo in class javax.management.StandardMBean