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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ReferenceManager.java (file contents):
Revision 1.12 by ajm, Fri Feb 23 16:55:12 2001 UTC vs.
Revision 1.16 by tdb, Tue May 29 17:02:34 2001 UTC

# Line 1 | Line 1
1   //---PACKAGE DECLARATION---
2 < package uk.ac.ukc.iscream.componentmanager;
2 > package uk.org.iscream.cms.server.componentmanager;
3  
4   //---IMPORTS---
5   import org.omg.CORBA.ORB;
6   import org.omg.CosNaming.*;
7   import org.omg.PortableServer.*;
8 < import uk.ac.ukc.iscream.core.*;
9 < import uk.ac.ukc.iscream.util.*;
8 > import uk.org.iscream.cms.server.core.*;
9 > import uk.org.iscream.cms.server.util.*;
10  
11   /**
12   * This class returns references for global system objects.
# Line 42 | Line 42 | public class ReferenceManager {
42       *
43       * @return a reference to the ReferenceManager
44       */
45 <    public static ReferenceManager getInstance() {
45 >    public synchronized static ReferenceManager getInstance() {
46          if (_instance == null) {
47              _instance = new ReferenceManager();
48          }
# Line 136 | Line 136 | public class ReferenceManager {
136       * Overrides the {@link java.lang.Object#toString() Object.toString()}
137       * method to provide clean logging (every class should have this).
138       *
139 <     * This uses the uk.ac.ukc.iscream.util.NameFormat class
139 >     * This uses the uk.org.iscream.cms.server.util.NameFormat class
140       * to format the toString()
141       *
142       * @return the name of this class and its CVS revision
# Line 325 | Line 325 | public class ReferenceManager {
325      /**
326       * A reference to the single instance of this class
327       */
328 <    private static ReferenceManager _instance;
328 >    private static ReferenceManager _instance = null;
329   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines