Package de.hybris.platform.util.config
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
Modifier and TypeMethodDescriptionload()Loads configuration from watched resource and wraps it intoPropertiesobject.
-
Method Details
-
load
Optional<Properties> load()Loads configuration from watched resource and wraps it intoPropertiesobject.- Returns:
Optional<Properties>object orOptional.empty()in case of nothing to load
-