Package org.jdbi.v3.core.config
Class ConfigRegistry
java.lang.Object
org.jdbi.v3.core.config.ConfigRegistry
A registry of 
JdbiConfig instances by type.- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of this config registry.<C extends JdbiConfig<C>>
CReturns this registry's instance of the given config class. 
- 
Constructor Details
- 
ConfigRegistry
public ConfigRegistry()Creates a new config registry. 
 - 
 - 
Method Details
- 
get
Returns this registry's instance of the given config class. Creates an instance on-demand if this registry does not have one of the given type yet.- Type Parameters:
 C- the config class type.- Parameters:
 configClass- the config class type.- Returns:
 - the given config class instance that belongs to this registry.
 
 - 
createCopy
Returns a copy of this config registry.- Returns:
 - a copy of this config registry
 - See Also:
 
 
 -