registerBean(String pApplicationName) This method registers the instance of the MonitorControllerMBean.
public static boolean
registerBeanIfNecessary(String pApplicationName) This method registers the instance of the MonitorControllerMBean if it has not been registered yet.
true if bean is registered (i.e.
unregisterBean(String pApplicationName) This method unregisters the instance of the MonitorControllerMBean if one is registered.
true if bean is deregistered (i.e.
public static boolean registerBean(String pApplicationName)(Code)
This method registers the instance of the MonitorControllerMBean. If existing bean
with the same name is found it will be deregistered first. In other words this
method will always register a new copy of the bean.
true if bean is registered (i.e. it has been registered during this call or prior to that) andfalse if something prevents the bean to be registered.
registerBeanIfNecessary
public static boolean registerBeanIfNecessary(String pApplicationName)(Code)
This method registers the instance of the MonitorControllerMBean if it has not been registered yet.
true if bean is registered (i.e. it has been registered during this call or prior to that) andfalse if something prevents the bean to be registered.
public static boolean unregisterBean(String pApplicationName)(Code)
This method unregisters the instance of the MonitorControllerMBean if one is registered.
true if bean is deregistered (i.e. it has been deregistered during this call or it did not exists) and false if something prevents the bean to be deregistered.