author | František Kučera <franta-hg@frantovo.cz> |
Mon, 04 Mar 2019 20:15:24 +0100 | |
branch | v_0 |
changeset 238 | 4a1864c3e867 |
parent 155 | java/sql-dk/src/info/globalcode/sql/dk/configuration/ConfigurationProvider.java@eb3676c6929b |
child 250 | aae5009bd0af |
permissions | -rw-r--r-- |
20
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1 |
/** |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
2 |
* SQL-DK |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
3 |
* Copyright © 2013 František Kučera (frantovo.cz) |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
4 |
* |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
5 |
* This program is free software: you can redistribute it and/or modify |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
6 |
* it under the terms of the GNU General Public License as published by |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
7 |
* the Free Software Foundation, either version 3 of the License, or |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
8 |
* (at your option) any later version. |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
9 |
* |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
10 |
* This program is distributed in the hope that it will be useful, |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
13 |
* GNU General Public License for more details. |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
14 |
* |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
17 |
*/ |
26
4ec8e5534eb9
configuration basics
František Kučera <franta-hg@frantovo.cz>
parents:
20
diff
changeset
|
18 |
package info.globalcode.sql.dk.configuration; |
20
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
19 |
|
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
20 |
/** |
155 | 21 |
* Use for lazy-loading of the configuration. |
20
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
22 |
* |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
23 |
* @author Ing. František Kučera (frantovo.cz) |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
24 |
*/ |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
25 |
public interface ConfigurationProvider { |
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
26 |
|
33
04db6ccd6c48
configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
26
diff
changeset
|
27 |
public Configuration getConfiguration() throws ConfigurationException; |
20
e225bdcd260e
refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
28 |
} |