public class ConfigRegistry extends Object
JdbiConfig instances by type.Configurable| Constructor and Description |
|---|
ConfigRegistry()
Creates a new config registry.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigRegistry |
createCopy()
Returns a copy of this config registry.
|
<C extends JdbiConfig<C>> |
get(Class<C> configClass)
Returns this registry's instance of the given config class.
|
public ConfigRegistry createCopy()
config objects in the returned registry are copies of the corresponding
config objects from this registry.public <C extends JdbiConfig<C>> C get(Class<C> configClass)
C - the config class type.configClass - the config class type.Copyright © 2019. All rights reserved.