--- projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/FilterManager.java 2001/05/29 17:02:35 1.23 +++ projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/FilterManager.java 2002/03/20 13:40:29 1.24 @@ -13,7 +13,7 @@ import uk.org.iscream.cms.server.componentmanager.*; * to talk to. * * @author $Author: tdb $ - * @version $Id: FilterManager.java,v 1.23 2001/05/29 17:02:35 tdb Exp $ + * @version $Id: FilterManager.java,v 1.24 2002/03/20 13:40:29 tdb Exp $ */ public class FilterManager implements Component { @@ -22,18 +22,21 @@ public class FilterManager implements Component { /** * The current CVS revision of this class */ - public static final String REVISION = "$Revision: 1.23 $"; + public static final String REVISION = "$Revision: 1.24 $"; - /** - * The friendly name for this component, used by - * all related classes. - */ - public static final String NAME = "FilterManager"; - //---STATIC METHODS--- //---CONSTRUCTORS--- + /** + * Constructs a FilterManager with the name given + * + * @param givenName the name + */ + public FilterManager(String givenName) { + NAME = givenName; + } + //---PUBLIC METHODS--- /** @@ -85,7 +88,7 @@ public class FilterManager implements Component { */ public String toString() { return FormatName.getName( - _name, + NAME, getClass().getName(), REVISION); } @@ -119,5 +122,12 @@ public class FilterManager implements Component { private ReferenceManager _refman = ReferenceManager.getInstance(); //---STATIC ATTRIBUTES--- + + /** + * The friendly name for this component, used by + * all related classes. + * This is set from the configuration. + */ + public static String NAME; } \ No newline at end of file