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.38 by tdb, Tue May 29 17:02:35 2001 UTC vs.
Revision 1.41 by tdb, Fri Sep 6 15:10:48 2002 UTC

# Line 1 | Line 1
1 + /*
2 + * i-scream central monitoring system
3 + * http://www.i-scream.org.uk
4 + * Copyright (C) 2000-2002 i-scream
5 + *
6 + * This program is free software; you can redistribute it and/or
7 + * modify it under the terms of the GNU General Public License
8 + * as published by the Free Software Foundation; either version 2
9 + * of the License, or (at your option) any later version.
10 + *
11 + * This program is distributed in the hope that it will be useful,
12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 + * GNU General Public License for more details.
15 + *
16 + * You should have received a copy of the GNU General Public License
17 + * along with this program; if not, write to the Free Software
18 + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19 + */
20  
21 +
22   //---PACKAGE DECLARATION---
23   package uk.org.iscream.cms.server.rootfilter;
24  
# Line 74 | Line 94 | public class RootFilter implements Component {
94          ClientInterface ciReal = null, ciDB = null;
95          // get reference to the client interfaces - the real time one
96          if (realInterface != null) {
97 <            ciReal = ClientInterfaceHelper.narrow(_refman.getCORBARef("iscream.ClientInterface." + realInterface));
97 >            ciReal = ClientInterfaceHelper.narrow(_refman.getCORBARef("iscream.ClientInterface\\." + realInterface));
98          }
99          // get reference to the client interfaces - and the db one
100          if (dbInterface != null) {
101 <            ciDB = ClientInterfaceHelper.narrow(_refman.getCORBARef("iscream.ClientInterface." + dbInterface));
101 >            ciDB = ClientInterfaceHelper.narrow(_refman.getCORBARef("iscream.ClientInterface\\." + dbInterface));
102          }
103          
104          // setup a queue
# Line 141 | Line 161 | public class RootFilter implements Component {
161          _logger.write(toString(), Logger.DEBUG, "starting Root Filter");
162          RootFilterServant filterServant = new RootFilterServant(queue);
163          // bind to the naming service as a filter
164 <        _refman.bindToOrb(filterServant, "iscream.Filter." + RootFilter.NAME);
164 >        _refman.bindToOrb(filterServant, "iscream.Filter\\." + RootFilter.NAME);
165          
166          _logger.write(toString(), Logger.SYSINIT, "started");
167          
# Line 174 | Line 194 | public class RootFilter implements Component {
194          // first check the client interface
195          try {
196              String cli = cp.getProperty("RootFilter", "RootFilter.realtimeInterfaceName");
197 <            obj = _refman.getCORBARef("iscream.ClientInterface." + cli);
197 >            obj = _refman.getCORBARef("iscream.ClientInterface\\." + cli);
198          } catch(ComponentCORBAException e) {
199              System.err.println(toString() + ": Dependency Failure: "+e);
200              return false;
# Line 184 | Line 204 | public class RootFilter implements Component {
204          // second check the database interface
205          try {
206              String dbi = cp.getProperty("RootFilter", "RootFilter.dbInterfaceName");
207 <            obj = _refman.getCORBARef("iscream.ClientInterface." + dbi);
207 >            obj = _refman.getCORBARef("iscream.ClientInterface\\." + dbi);
208          } catch(ComponentCORBAException e) {
209              System.err.println(toString() + ": Dependency Failure: "+e);
210              return false;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines