Package de.objektkontor.config.backend
Class AbstractConfigBackend
java.lang.Object
de.objektkontor.config.backend.AbstractConfigBackend
- All Implemented Interfaces:
ConfigBackend,ReloadInitiator.Handler
- Direct Known Subclasses:
PropertyBackend
public abstract class AbstractConfigBackend
extends Object
implements ConfigBackend, ReloadInitiator.Handler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObserver(BundleObserver observer) protected abstract voiddoReload()protected static <V> ValueParser<V>voidvoidremoveObserver(BundleObserver observer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.objektkontor.config.ConfigBackend
getSubconfigIds, getValue, getValue, getValues, getValues
-
Field Details
-
observers
-
-
Constructor Details
-
AbstractConfigBackend
public AbstractConfigBackend()
-
-
Method Details
-
doReload
- Throws:
Exception
-
reloadConfiguration
- Specified by:
reloadConfigurationin interfaceReloadInitiator.Handler- Throws:
Exception
-
addObserver
- Specified by:
addObserverin interfaceConfigBackend
-
removeObserver
- Specified by:
removeObserverin interfaceConfigBackend
-
getParser
-