Interface TransportLoggerViewMBean

All Known Implementing Classes:
TransportLoggerView

public interface TransportLoggerViewMBean
MBean to manage a single Transport Logger. It can inform if the logger is currently writing to a log file or not, by setting the logging property or by using the operations enableLogging() and disableLogging().
Author:
David Martin Clavo david(dot)martin(dot)clavo(at)gmail.com
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Disables logging for the managed TransportLogger.
    void
    Enables logging for the managed TransportLogger.
    boolean
    Returns if the managed TransportLogger is currently active (writing to a log) or not.
    void
    setLogging(boolean logging)
    Enables or disables logging for the managed TransportLogger.
  • Method Details

    • isLogging

      boolean isLogging()
      Returns if the managed TransportLogger is currently active (writing to a log) or not.
      Returns:
      if the managed TransportLogger is currently active (writing to a log) or not.
    • setLogging

      void setLogging(boolean logging)
      Enables or disables logging for the managed TransportLogger.
      Parameters:
      logging - Boolean value to enable or disable logging for the managed TransportLogger. true to enable logging, false to disable logging.
    • enableLogging

      void enableLogging()
      Enables logging for the managed TransportLogger.
    • disableLogging

      void disableLogging()
      Disables logging for the managed TransportLogger.