public interface DbConfigProvider
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears caching of DbConfig instances.
|
DbConfig |
loadDbConfig(java.lang.String configName,
java.lang.Class<?> ctx)
This default implementation loads the file with base file name
configName and extension .dbconfig
in the context of class ctx. |
DbConfig loadDbConfig(java.lang.String configName, java.lang.Class<?> ctx)
configName and extension .dbconfig
in the context of class ctx.
The following locations are searched in order:
- .//config
- ./
- .///config
- .//config
configName - The base name of the .dbconfig file.ctx - A class providing context, such as current moduleDbConfig reflecting the settings in the .dbconfig file, or null if the file was not
found.void clear()
Copyright © 2024. All rights reserved.