--- projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/FilterManager.java 2001/02/23 17:12:40 1.17 +++ projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/FilterManager.java 2001/03/13 13:40:26 1.18 @@ -12,8 +12,8 @@ import uk.ac.ukc.iscream.componentmanager.*; * gain their configuration and a hook to a Filter * to talk to. * - * @author $Author: ajm $ - * @version $Id: FilterManager.java,v 1.17 2001/02/23 17:12:40 ajm Exp $ + * @author $Author: tdb $ + * @version $Id: FilterManager.java,v 1.18 2001/03/13 13:40:26 tdb Exp $ */ public class FilterManager implements Component { @@ -22,7 +22,7 @@ public class FilterManager implements Component { /** * The current CVS revision of this class */ - public static final String REVISION = "$Revision: 1.17 $"; + public static final String REVISION = "$Revision: 1.18 $"; /** * The friendly name for this component, used by @@ -41,31 +41,12 @@ public class FilterManager implements Component { */ public void start() throws ComponentStartException { // get references to key objects - _refman = ReferenceManager.getInstance(); _logger = ReferenceManager.getInstance().getLogger(); _logger.write(toString(), Logger.SYSINIT, "coming up"); - // configuration variable we require - int listenPort = 0; - - Configuration config = _refman.getCM().getConfiguration("FilterManager"); - if (config == null) { - throw new ComponentStartException("Unable to obtain configuration for component"); - } - else { - try { - // get the configuration properties we need - listenPort = Integer.parseInt(config.getProperty("FilterManager.listenPort")); - } catch (org.omg.CORBA.MARSHAL e) { - throw new ComponentStartException("Unable to obtain requried configuration property for component"); - } - } - - _logger.write(toString(), Logger.SYSMSG, "configured"); - // startup a thread to listen for hosts - HostListener hostListener = new HostListener(listenPort); + HostListener hostListener = new HostListener(); hostListener.start(); _logger.write(toString(), Logger.SYSINIT, "started"); @@ -109,11 +90,6 @@ public class FilterManager implements Component { * system logger that is being used. */ private Logger _logger; - - /** - * A reference to the reference manager in use - */ - private ReferenceManager _refman; //---STATIC ATTRIBUTES---