public abstract class AbstractConfigInitializer extends Object implements ConfigInitializer
getValue(ConfigKey)
must be implemented.Modifier | Constructor and Description |
---|---|
protected |
AbstractConfigInitializer() |
protected |
AbstractConfigInitializer(Function<ConfigKey,String> keyFactory) |
protected |
AbstractConfigInitializer(String configKeyPrefix,
Function<ConfigKey,String> keyFactoryWithoutPrefix,
Function<ConfigKey,String> keyFactoryWithPrefix)
Small convenience Constructor for concrete implementation which can have an optional config key-prefix.
|
Modifier and Type | Method and Description |
---|---|
protected Function<ConfigKey,String> |
getKeyFactory() |
protected abstract String |
getValue(ConfigKey key) |
void |
init(Config config) |
protected static void |
initAllowedAlgorithm(Config config,
String value) |
protected static void |
initAutoCreateSecretKey(Config config,
String value) |
protected static void |
initSaltLength(Config config,
String value) |
protected static void |
initSecretFilePath(Config config,
String value) |
Copyright © 2016–2019 Brabenetz Harald, Austria. All rights reserved.