Interface MidpointConfiguration


  • public interface MidpointConfiguration
    Author:
    mamut
    • Method Detail

      • getMidpointHome

        String getMidpointHome()
        Returns:
        midPoint home directory. Currently it is the same value as in "midpoint.home" system property.
      • getConfiguration

        org.apache.commons.configuration2.Configuration getConfiguration​(String component)
        Get configuration for symbolic name of the component from configuration subsystem.
        Parameters:
        component - name of the component Samples of names:
        • repository -> midpoint.repository
          provisioning -> midpoint.provisioning
      • Returns:
        Configuration object Sample how to get config value: config.getInt("port", 1234);
      • getConfiguration

        org.apache.commons.configuration2.Configuration getConfiguration()
        Returns:
        Global configuration.
      • isSafeMode

        boolean isSafeMode()
        Returns:
        True if we are running in safe mode (the exact meaning gradually evolves; but the overall idea is to make midPoint barely usable to be able to fix the worst problems preventing it from running normally).
      • isProfilingEnabled

        boolean isProfilingEnabled()
        Returns:
        True if the profiling interceptor should be loaded.
      • getProfilingMode

        @NotNull
        ProfilingMode getProfilingMode()
        Returns:
        Current profiling mode e.g. on, off, dynamic.
      • getSystemSection

        @NotNull
        SystemConfigurationSection getSystemSection()
        Returns:
        "midpoint.system" section of the system configuration