com.sun.mfwk.util.instrum
Interface MfInstrumManagementMBean

All Known Implementing Classes:
MfInstrumManagement

public interface MfInstrumManagementMBean

MfInstrumManagementMBean allows instrumentation management. It provides a mean to enable and disable the instrumentation.


Method Summary
 void disableMonitoring()
          Disables the monitoring.
 void enableMonitoring()
          Enables the monitoring.
 java.util.logging.Level getLoggingLevel()
          Get the logging level..
 boolean isMonitoringEnabled()
          Check if the monitoring is enabled.
 void setLoggingLevel(java.util.logging.Level level)
          Set the logging level..
 

Method Detail

isMonitoringEnabled

public boolean isMonitoringEnabled()
Check if the monitoring is enabled. If the monitoring is disabled, all the MBeans implementing instrumentation should be unregistered from the MBeanServer.


getLoggingLevel

public java.util.logging.Level getLoggingLevel()
Get the logging level..


setLoggingLevel

public void setLoggingLevel(java.util.logging.Level level)
Set the logging level..


enableMonitoring

public void enableMonitoring()
Enables the monitoring. This mean that all the instrumentation will be disabled.


disableMonitoring

public void disableMonitoring()
Disables the monitoring. This mean that all the instrumentation will be enabled.