--- projects/cms/source/util/uk/org/iscream/cms/util/ReferenceManager.java 2000/12/12 18:24:53 1.7 +++ projects/cms/source/util/uk/org/iscream/cms/util/ReferenceManager.java 2000/12/13 13:42:50 1.8 @@ -19,7 +19,7 @@ import uk.ac.ukc.iscream.core.*; * a component. * * @author $Author: ajm $ - * @version $Id: ReferenceManager.java,v 1.7 2000/12/12 18:24:53 ajm Exp $ + * @version $Id: ReferenceManager.java,v 1.8 2000/12/13 13:42:50 ajm Exp $ */ public class ReferenceManager { @@ -28,24 +28,11 @@ public class ReferenceManager { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.7 $"; + public final String REVISION = "$Revision: 1.8 $"; //---STATIC METHODS--- /** - * TO BE REMOVED ONCE CODE TIDY HAS COMPLETED! - * @deprecated should no longer use this method to construct a refman - */ - public static ReferenceManager init(String[] args, String name) throws AlreadyInitialisedException { - System.out.println("LEGACY CALL - SORT THIS OUT! name=" + name); - if (_instance != null) { - throw new AlreadyInitialisedException("init has already been called"); - } - _instance = new ReferenceManager(args, name); - return _instance; - } - - /** * This returns a reference to the single instance of the * ReferenceManager. * @@ -70,16 +57,6 @@ public class ReferenceManager { private ReferenceManager() { _orb = ORB.init(new String[] {}, null); } - - /** - * TO BE REMOVED ONCE CODE TIDY HAS COMPLETED! - * @deprecated should no longer use this method to construct a refman - */ - private ReferenceManager(String[] args, String name) { - System.out.println("LEGACY CALL - SORT THIS OUT! name=" + name); - _orb = ORB.init(args, null); - _name = name; - } //---PUBLIC METHODS--- @@ -279,29 +256,7 @@ public class ReferenceManager { } return _logger; } - - /** - * Sets the reference to the name - * TO BE REMOVED ONCE CODE TIDY HAS COMPLETED! - * @deprecated not stored in the refman any more - see Template.class - * @param the new name - */ - public void setName(String name) { - System.out.println("LEGACY CALL - SORT THIS OUT! name=" + name); - _name = name; - } - /** - * Returns a reference to the name - * TO BE REMOVED ONCE CODE TIDY HAS COMPLETED! - * @deprecated not stored in the refman any more - see Template.class - * @return the reference this class holds - */ - public String getName() { - System.out.println("LEGACY CALL - SORT THIS OUT! name=" + _name); - return _name; - } - //---ATTRIBUTES--- /**