Package de.hybris.platform.util.config
Class FileBasedConfigLoader
java.lang.Object
de.hybris.platform.util.config.FileBasedConfigLoader
- All Implemented Interfaces:
RuntimeConfigLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionload()Loads configuration from watched resource and wraps it intoPropertiesobject.
-
Constructor Details
-
FileBasedConfigLoader
public FileBasedConfigLoader()
-
-
Method Details
-
load
Description copied from interface:RuntimeConfigLoaderLoads configuration from watched resource and wraps it intoPropertiesobject.- Specified by:
loadin interfaceRuntimeConfigLoader- Returns:
Optional<Properties>object orOptional.empty()in case of nothing to load
-