Interface SupervisorMBean

All Known Implementing Classes:
Supervisor

public interface SupervisorMBean
Provides information about the state of a running Apache SIS instance.
Since:
0.3
Version:
0.7
  • Method Summary

    Modifier and Type
    Method
    Description
    configuration(EnumSet<About> sections, Locale locale, TimeZone timezone)
    Returns information about the current configuration.
    warnings(Locale locale)
    If there is something wrong with the current Apache SIS status, returns descriptions of the problems.
  • Method Details

    • configuration

      TreeTable configuration(EnumSet<About> sections, Locale locale, TimeZone timezone)
      Returns information about the current configuration. This method tries to focus on the information that are the most relevant to SIS. Those information are grouped in sections: a "Versions" section containing the Apache SIS version, Java version and operation system version; a "Classpath" section containing bootstrap, extension and user classpath, etc.
      Parameters:
      sections - the section for which information are desired.
      locale - the locale to use for formatting the texts in the tree, or null for the default.
      timezone - the timezone to use for formatting the dates, or null for the default.
      Returns:
      configuration information, as a tree for grouping some configuration by sections.
    • warnings

      String[] warnings(Locale locale)
      If there is something wrong with the current Apache SIS status, returns descriptions of the problems. Otherwise returns null.
      Parameters:
      locale - the locale to use for reporting messages, or null for the default.
      Returns:
      a description of a problems in the library, or null if none.