ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/RootFilter.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/RootFilter.java (file contents):
Revision 1.26 by ajm, Fri Feb 23 17:08:50 2001 UTC vs.
Revision 1.27 by ajm, Mon Feb 26 02:15:11 2001 UTC

# Line 1 | Line 1
1 +
2   //---PACKAGE DECLARATION---
3   package uk.ac.ukc.iscream.rootfilter;
4  
# Line 57 | Line 58 | public class RootFilter implements Component {
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          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines