1 |
+ |
|
2 |
|
//---PACKAGE DECLARATION--- |
3 |
|
package uk.ac.ukc.iscream.rootfilter; |
4 |
|
|
58 |
|
try { |
59 |
|
// get the configuration properties we need |
60 |
|
ourName = config.getProperty("RootFilter.name"); |
61 |
< |
realInterface = config.getProperty("RootFilter.realtimeInterfaceName"); |
61 |
< |
dbInterface = config.getProperty("RootFilter.dbInterfaceName"); |
61 |
> |
|
62 |
|
queueMonitorInterval = Integer.parseInt(config.getProperty("Queue.MonitorInterval")); |
63 |
|
} catch (org.omg.CORBA.MARSHAL e) { |
64 |
|
throw new ComponentStartException("Unable to obtain requried configuration property for component"); |
65 |
+ |
} |
66 |
+ |
try { |
67 |
+ |
// get the optional configuration properties |
68 |
+ |
realInterface = config.getProperty("RootFilter.realtimeInterfaceName"); |
69 |
+ |
dbInterface = config.getProperty("RootFilter.dbInterfaceName"); |
70 |
+ |
} catch (org.omg.CORBA.MARSHAL e) { |
71 |
+ |
// we can ignore that fact |
72 |
|
} |
73 |
|
} |
74 |
|
|