Package org.openbravo.jmx
Class MBeanRegistry
- java.lang.Object
-
- org.openbravo.jmx.MBeanRegistry
-
public class MBeanRegistry extends Object
This class is intended to register the jmx beans defined in the application.
-
-
Constructor Summary
Constructors Constructor Description MBeanRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
registerMBean(String mBeanName, Object mBean)
Registers a pre-existing object as an MBean with the platform MBean server.
-
-
-
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 MBeanmBean
- the MBean object
-
-