Class AutoReloadingConfiguration

    • Method Detail

      • init

        public void init()
                  throws IOException
        Initialize the configuration and set up monitoring
        Throws:
        IOException - thrown if the configuration cannot be loaded.
      • shutdown

        public void shutdown()
        Shut down the change monitoring thread
      • setConfigPath

        public void setConfigPath​(String configPath)
        Set the file path for the configuration
        Parameters:
        configPath - file path for configuration
      • setMonitorForChanges

        public void setMonitorForChanges​(boolean monitorForChanges)
        Set whether to monitor the configuration file for changes
        Parameters:
        monitorForChanges - flag controlling if to enable configuration monitoring