Class MBeanRegistry


  • public class MBeanRegistry
    extends Object
    This class is intended to register the jmx beans defined in the application.
    • Constructor Detail

      • MBeanRegistry

        public MBeanRegistry()
    • Method Detail

      • registerMBean

        public static void registerMBean​(String mBeanName,
                                         Object mBean)
        Registers a pre-existing object as an MBean with the platform MBean server. The MBean will be registered with the provided name inside a group called "Openbravo" with the current context name as context: Openbravo-> contextName -> mBeanName
        Parameters:
        mBeanName - the name of the MBean
        mBean - the MBean object