public abstract class AbstractConfigBackend extends Object implements ConfigBackend, ReloadInitiator.Handler
| Modifier and Type | Field and Description |
|---|---|
protected Set<BundleObserver> |
observers |
| Constructor and Description |
|---|
AbstractConfigBackend() |
| Modifier and Type | Method and Description |
|---|---|
void |
addObserver(BundleObserver observer) |
protected abstract void |
doReload() |
protected static <V> ValueParser<V> |
getParser(Class<V> valueType) |
void |
reloadConfiguration() |
void |
removeObserver(BundleObserver observer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSubconfigIds, getValue, getValue, getValues, getValuesprotected final Set<BundleObserver> observers
public void reloadConfiguration()
throws Exception
reloadConfiguration in interface ReloadInitiator.HandlerExceptionpublic void addObserver(BundleObserver observer)
addObserver in interface ConfigBackendpublic void removeObserver(BundleObserver observer)
removeObserver in interface ConfigBackendprotected static <V> ValueParser<V> getParser(Class<V> valueType)
Copyright © 2019 Objekt-Kontor IS GmbH & Co KG. All rights reserved.