public interface Repository
A configuration repository can be any data source containing configuration data, e. g. a simple in-memory store, a file, or a database.
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the underlying data source when it isn't require any more.
|
void |
open()
Opens the configuration repository, e.
|
String |
read(String name)
Reads the configuration parameter name from the backing data source.
|
void open() throws RepositoryException
RepositoryException - If an error occurred while opening the data sourceString read(String name)
name - The parameter nameStringvoid close()
throws RepositoryException
RepositoryException - If an error occurred while closing the underlying data sourceCopyright © 2022. All rights reserved.