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

Comparing projects/cms/source/util/uk/org/iscream/cms/util/ReferenceManager.java (file contents):
Revision 1.6 by ajm, Tue Dec 12 17:13:22 2000 UTC vs.
Revision 1.7 by ajm, Tue Dec 12 18:24:53 2000 UTC

# Line 34 | Line 34 | public class ReferenceManager {
34  
35      /**
36       * TO BE REMOVED ONCE CODE TIDY HAS COMPLETED!
37 <     * @deprecated should know longer use this method to construct a refman
37 >     * @deprecated should no longer use this method to construct a refman
38       */
39      public static ReferenceManager init(String[] args, String name) throws AlreadyInitialisedException {
40          System.out.println("LEGACY CALL - SORT THIS OUT! name=" + name);
# Line 73 | Line 73 | public class ReferenceManager {
73      
74      /**
75       * TO BE REMOVED ONCE CODE TIDY HAS COMPLETED!
76 <     * @deprecated should know longer use this method to construct a refman
76 >     * @deprecated should no longer use this method to construct a refman
77       */
78      private ReferenceManager(String[] args, String name) {
79          System.out.println("LEGACY CALL - SORT THIS OUT! name=" + name);
# Line 86 | Line 86 | public class ReferenceManager {
86      /**
87       * Obtains a CORBA reference through the naming service
88       * for the named object.
89 <     * This will throw a Error if there is an error
89 >     * Calls the dieWithError() if any exceptions happen!
90       *
91       * @param name the name of the CORBA object to resolve
92       *
# Line 112 | Line 112 | public class ReferenceManager {
112      /**
113       * Binds a given servant with the given name
114       * to the naming service.
115 <     * Calls the dieWithError()!
115 >     * Calls the dieWithError() if any exceptions happen!
116       *
117       * @param objRef a reverence to the servant object
118       * @param name the name to bind to the naming service with
# Line 143 | Line 143 | public class ReferenceManager {
143      
144      /**
145       * Activates the POA
146 <     * This will throw a Error if there is an error
146 >     * Calls the dieWithError() if any exceptions happen!
147       */
148      public void activatePOA() {
149          try {
# Line 165 | Line 165 | public class ReferenceManager {
165       */
166      public String toString() {
167          return FormatName.getName(
168 <            null,
169 <            this.getClass().getName(),
168 >            _name,
169 >            getClass().getName(),
170              REVISION);
171      }
172  
# Line 206 | Line 206 | public class ReferenceManager {
206  
207      /**
208       * Returns a reference to the Root POA
209 <     * This will throw a Error if there is an error
209 >     * Calls the dieWithError() if any exceptions happen!
210       *
211       * @return the reference this class holds
212       */
# Line 226 | Line 226 | public class ReferenceManager {
226      
227      /**
228       * Returns a reference to the Naming Service
229 <     * This will throw a Error if there is an error
229 >     * Calls the dieWithError() if any exceptions happen!
230       *
231       * @return the reference this class holds
232       */
# Line 251 | Line 251 | public class ReferenceManager {
251      
252      /**
253       * Returns a reference to the configuration manager
254 <     * This will throw a Error if there is an error
254 >     * Calls the dieWithError() if any exceptions happen!
255       *
256       * @return the reference this class holds
257       */
# Line 330 | Line 330 | public class ReferenceManager {
330      private Logger _logger;
331      
332      /**
333 <     * The name
334 <     * TO BE REMOVED ONCE CODE TIDY HAS COMPLETED!
335 <     * @deprecated not stored in the refman any more - see Template.class
333 >     * This is the friendly identifier of the
334 >     * component this class is running in.
335 >     * eg, a Filter may be called "filter1",
336 >     * If this class does not have an owning
337 >     * component,  a name from the configuration
338 >     * can be placed here.  This name could also
339 >     * be changed to null for utility classes.
340       */
341 <    private String _name;
341 >    private String _name = null;
342  
343   //---STATIC ATTRIBUTES---
344      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines