10 |
|
// The Logger interface, provides a corba object that |
11 |
|
// all classes can use to log system and error information. |
12 |
|
interface Logger { |
13 |
< |
void write(in string source, in string message); |
14 |
< |
void writeToConsole(in string source, in string message); |
13 |
> |
void write(in string source, in long verbosity, in string message); |
14 |
> |
// Verbosity levels |
15 |
> |
const long FATAL=0; |
16 |
> |
const long ERROR=1; |
17 |
> |
const long WARNING=2; |
18 |
> |
const long SYSMSG=3; |
19 |
> |
const long SYSINIT=4; |
20 |
> |
const long DEBUG=5; |
21 |
|
}; |
22 |
|
|
23 |
|
// The Configuration interface, provides a CORBA object that |
25 |
|
interface Configuration { |
26 |
|
string getProperty(in string key); |
27 |
|
long long getLastModified(); |
22 |
– |
|
28 |
|
}; |
29 |
|
|
30 |
|
// The Configurator interface, provides a CORBA object that |
31 |
|
// all classes can use to obtain their individual configuration. |
32 |
< |
interface Configurator { |
32 |
> |
interface ConfigurationManager { |
33 |
|
Configuration getConfiguration(in string source); |
34 |
|
boolean isModified(in string source, in long long currentModified); |
35 |
|
}; |