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); |
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); |
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 |
|
* |
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 |
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 { |
165 |
|
*/ |
166 |
|
public String toString() { |
167 |
|
return FormatName.getName( |
168 |
< |
null, |
169 |
< |
this.getClass().getName(), |
168 |
> |
_name, |
169 |
> |
getClass().getName(), |
170 |
|
REVISION); |
171 |
|
} |
172 |
|
|
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 |
|
*/ |
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 |
|
*/ |
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 |
|
*/ |
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 |
|
|