java/sql-dk/src/main/java/info/globalcode/sql/dk/configuration/ConfigurationProvider.java
author František Kučera <franta-hg@frantovo.cz>
Fri, 23 Sep 2022 18:05:50 +0200
branchv_0
changeset 254 c4b901ff0703
parent 250 aae5009bd0af
permissions -rw-r--r--
recfile formatter: write record count (as a comment at the end of the relation)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
250
aae5009bd0af fix license version: GNU GPLv3
František Kučera <franta-hg@frantovo.cz>
parents: 238
diff changeset
     7
 * the Free Software Foundation, version 3 of the License.
20
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     8
 *
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     9
 * 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
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    12
 * GNU General Public License for more details.
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    13
 *
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    14
 * 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
    15
 * 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
    16
 */
26
4ec8e5534eb9 configuration basics
František Kučera <franta-hg@frantovo.cz>
parents: 20
diff changeset
    17
package info.globalcode.sql.dk.configuration;
20
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    18
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    19
/**
155
eb3676c6929b more JavaDoc
František Kučera <franta-hg@frantovo.cz>
parents: 33
diff changeset
    20
 * Use for lazy-loading of the configuration.
20
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    21
 *
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    22
 * @author Ing. František Kučera (frantovo.cz)
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    23
 */
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    24
public interface ConfigurationProvider {
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    25
33
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents: 26
diff changeset
    26
	public Configuration getConfiguration() throws ConfigurationException;
20
e225bdcd260e refactor, configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    27
}