Interface RuntimeConfigLoader

  • All Known Implementing Classes:
    FileBasedConfigLoader

    public interface RuntimeConfigLoader
    Interface which intention is to load configuration in form of Properties object which are later used to dynamically update Hybris configuration in runtime. Keep in mind that implementation must contain constructor without any parameters. To use it in the system set up fully qualified name in the property "runtime.config.loader.class".
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<java.util.Properties> load()
      Loads configuration from watched resource and wraps it into Properties object.
    • Method Detail

      • load

        java.util.Optional<java.util.Properties> load()
        Loads configuration from watched resource and wraps it into Properties object.
        Returns:
        Optional object or Optional.empty() in case of nothing to load