|
1 |
| |
|
2 |
| |
|
3 |
| |
|
4 |
| |
|
5 |
| package org.jconfig; |
|
6 |
| |
|
7 |
| import org.jconfig.event.ConfigurationChangedEvent; |
|
8 |
| import org.jconfig.event.ConfigurationListener; |
|
9 |
| |
|
10 |
| |
|
11 |
| |
|
12 |
| |
|
13 |
| |
|
14 |
| public class MockConfListener extends MockCatListener implements ConfigurationListener { |
|
15 |
| |
|
16 |
| private ConfigurationChangedEvent cnfe; |
|
17 |
| |
|
18 |
0
| public MockConfListener() {
|
|
19 |
| |
|
20 |
| } |
|
21 |
| |
|
22 |
0
| public void configurationChanged(ConfigurationChangedEvent evt) {
|
|
23 |
0
| cnfe = evt;
|
|
24 |
| } |
|
25 |
| |
|
26 |
0
| public ConfigurationChangedEvent getConfigurationChangedEvent() {
|
|
27 |
0
| return cnfe;
|
|
28 |
| } |
|
29 |
| |
|
30 |
| } |