Package de.hybris.platform.util.config
Class AbstractConfig
java.lang.Object
de.hybris.platform.util.config.AbstractConfig
- All Implemented Interfaces:
ConfigIntf
- Direct Known Subclasses:
FallbackConfig,FastHashMapConfig,HybrisConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.util.config.ConfigIntf
ConfigIntf.ConfigChangeListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClears internal cache.booleangetBoolean(String key, boolean def) chardoubleintlonggetParametersMatching(String keyRegExp) protected voidnotifyListeners(String key, String oldValue, String newValue) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.util.config.ConfigIntf
getAllParameters, getParameter, getParametersMatching, removeParameter, setParameter
-
Constructor Details
-
AbstractConfig
public AbstractConfig()
-
-
Method Details
-
clearCache
public void clearCache()Description copied from interface:ConfigIntfClears internal cache. No need to call it. Method purely to use within tests.- Specified by:
clearCachein interfaceConfigIntf
-
registerConfigChangeListener
- Specified by:
registerConfigChangeListenerin interfaceConfigIntf
-
unregisterConfigChangeListener
- Specified by:
unregisterConfigChangeListenerin interfaceConfigIntf
-
notifyListeners
-
getParametersMatching
- Specified by:
getParametersMatchingin interfaceConfigIntf
-
getBoolean
- Specified by:
getBooleanin interfaceConfigIntf
-
getInt
- Specified by:
getIntin interfaceConfigIntf- Throws:
NumberFormatException
-
getLong
- Specified by:
getLongin interfaceConfigIntf- Throws:
NumberFormatException
-
getDouble
- Specified by:
getDoublein interfaceConfigIntf- Throws:
NumberFormatException
-
getString
- Specified by:
getStringin interfaceConfigIntf
-
getChar
- Specified by:
getCharin interfaceConfigIntf- Throws:
IndexOutOfBoundsException
-