Interface ConfigMBean

All Known Implementing Classes:
Config

public interface ConfigMBean
MBean for handling configuration issues from outside.
Since:
Jun 12, 2009
Author:
roland
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get latest debug information if debugging is switched on.
    int
    Number of debug entries to remember
    boolean
    Check, whether debugging is switched on
    void
    Reset all debug information stored internally
    void
    setDebug(boolean pSwitch)
    Set debugging to given state
    void
    setMaxDebugEntries(int pNumber)
    Set the number of debugging info to remember
  • Field Details

  • Method Details

    • debugInfo

      String debugInfo()
      Get latest debug information if debugging is switched on. The returned output will not take more than getMaxDebugEntries() lines.
      Returns:
      debug info in plain ascii.
    • resetDebugInfo

      void resetDebugInfo()
      Reset all debug information stored internally
    • isDebug

      boolean isDebug()
      Check, whether debugging is switched on
      Returns:
      state of debugging
    • setDebug

      void setDebug(boolean pSwitch)
      Set debugging to given state
      Parameters:
      pSwitch - true, if debugging should be switched on, false otherwise
    • getMaxDebugEntries

      int getMaxDebugEntries()
      Number of debug entries to remember
      Returns:
      number of debug entries
    • setMaxDebugEntries

      void setMaxDebugEntries(int pNumber)
      Set the number of debugging info to remember
      Parameters:
      pNumber - entries to set