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