Omaha #3220 Verified config file is read when an update occurs.
Former-commit-id:15f3234242
[formerly 9ad78f067456eb04367a9d3aca58d9f5ee330c41] Former-commit-id:c7de9128a2
This commit is contained in:
parent
19f7dbd0cc
commit
99cc0e8764
2 changed files with 3 additions and 8 deletions
|
@ -55,6 +55,7 @@ import com.raytheon.uf.viz.monitor.safeseas.SafeSeasMonitor;
|
|||
* ------------ ---------- ----------- --------------------------
|
||||
* Jul 21, 2010 4891 skorolev Initial Creation.
|
||||
* Sep 11, 2013 2277 mschenke Got rid of ScriptCreator references
|
||||
* Feb 24, 2015 3220 dhladky removed misnamed un-needed method.
|
||||
* </pre>
|
||||
*
|
||||
* @author skorolev
|
||||
|
@ -200,14 +201,6 @@ public class SafeSeasResourceData extends AbstractRequestableResourceData {
|
|||
return fogThreatSS;
|
||||
}
|
||||
|
||||
/** Get the SafeSeasMonitor monitor **/
|
||||
protected SafeSeasMonitor getFogMonitor() {
|
||||
if (monitor == null) {
|
||||
monitor = SafeSeasMonitor.getInstance();
|
||||
}
|
||||
return monitor;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return plotSource
|
||||
*/
|
||||
|
|
|
@ -67,6 +67,7 @@ import com.raytheon.uf.common.status.UFStatus.Priority;
|
|||
* May 13 2014 3133 njensen getStationType returns String instead of ObsHistType
|
||||
* May 15 2014 3086 skorolev Renamed from MonitorConfigurationManager. Replaces three separate area configuration managers with one.
|
||||
* Sep 04 2014 3220 skorolev Added fileUpdated method.
|
||||
* Feb 24 2015 3220 dhladky Made sure config file is read in on change.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -917,6 +918,7 @@ public class FSSObsMonitorConfigurationManager implements
|
|||
public void fileUpdated(FileUpdatedMessage message) {
|
||||
if (message.getFileName().equals(getConfigFileName())) {
|
||||
try {
|
||||
readConfigXml();
|
||||
// inform listeners
|
||||
for (MonitorConfigListener fl : listeners) {
|
||||
fl.configChanged(new MonitorConfigEvent(this));
|
||||
|
|
Loading…
Add table
Reference in a new issue