KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > interfaces > JOnASUserSoapXML_1012985911Remote_Stub


1 // Stub class generated by rmic, do not edit.
2
// Contents subject to change without notice.
3

4 package hero.interfaces;
5
6 public final class JOnASUserSoapXML_1012985911Remote_Stub
7     extends java.rmi.server.RemoteStub JavaDoc
8     implements hero.interfaces.UserSoapXML, java.rmi.Remote JavaDoc, javax.ejb.EJBObject JavaDoc
9 {
10     private static final java.rmi.server.Operation JavaDoc[] operations = {
11     new java.rmi.server.Operation JavaDoc("java.lang.String getActivityList(java.lang.String)"),
12     new java.rmi.server.Operation JavaDoc("javax.ejb.EJBHome getEJBHome()"),
13     new java.rmi.server.Operation JavaDoc("javax.ejb.Handle getHandle()"),
14     new java.rmi.server.Operation JavaDoc("java.lang.Object getPrimaryKey()"),
15     new java.rmi.server.Operation JavaDoc("java.lang.String getProjectList()"),
16     new java.rmi.server.Operation JavaDoc("java.lang.String getToDoList(java.lang.String)"),
17     new java.rmi.server.Operation JavaDoc("java.lang.String getUser()"),
18     new java.rmi.server.Operation JavaDoc("java.lang.String getUserJabber()"),
19     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnUserLightValue getUserLightValue()"),
20     new java.rmi.server.Operation JavaDoc("java.lang.String getUserMail(java.lang.String)"),
21     new java.rmi.server.Operation JavaDoc("java.lang.String getUserPassword()"),
22     new java.rmi.server.Operation JavaDoc("java.lang.String getUserProperties()"),
23     new java.rmi.server.Operation JavaDoc("boolean isIdentical(javax.ejb.EJBObject)"),
24     new java.rmi.server.Operation JavaDoc("void remove()")
25     };
26     
27     private static final long interfaceHash = 7064478264648911831L;
28     
29     private static final long serialVersionUID = 2;
30     
31     private static boolean useNewInvoke;
32     private static java.lang.reflect.Method JavaDoc $method_getActivityList_0;
33     private static java.lang.reflect.Method JavaDoc $method_getEJBHome_1;
34     private static java.lang.reflect.Method JavaDoc $method_getHandle_2;
35     private static java.lang.reflect.Method JavaDoc $method_getPrimaryKey_3;
36     private static java.lang.reflect.Method JavaDoc $method_getProjectList_4;
37     private static java.lang.reflect.Method JavaDoc $method_getToDoList_5;
38     private static java.lang.reflect.Method JavaDoc $method_getUser_6;
39     private static java.lang.reflect.Method JavaDoc $method_getUserJabber_7;
40     private static java.lang.reflect.Method JavaDoc $method_getUserLightValue_8;
41     private static java.lang.reflect.Method JavaDoc $method_getUserMail_9;
42     private static java.lang.reflect.Method JavaDoc $method_getUserPassword_10;
43     private static java.lang.reflect.Method JavaDoc $method_getUserProperties_11;
44     private static java.lang.reflect.Method JavaDoc $method_isIdentical_12;
45     private static java.lang.reflect.Method JavaDoc $method_remove_13;
46     
47     static {
48     try {
49         java.rmi.server.RemoteRef JavaDoc.class.getMethod("invoke",
50         new java.lang.Class JavaDoc[] {
51             java.rmi.Remote JavaDoc.class,
52             java.lang.reflect.Method JavaDoc.class,
53             java.lang.Object JavaDoc[].class,
54             long.class
55         });
56         useNewInvoke = true;
57         $method_getActivityList_0 = hero.interfaces.UserSoapXML.class.getMethod("getActivityList", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
58         $method_getEJBHome_1 = javax.ejb.EJBObject JavaDoc.class.getMethod("getEJBHome", new java.lang.Class JavaDoc[] {});
59         $method_getHandle_2 = javax.ejb.EJBObject JavaDoc.class.getMethod("getHandle", new java.lang.Class JavaDoc[] {});
60         $method_getPrimaryKey_3 = javax.ejb.EJBObject JavaDoc.class.getMethod("getPrimaryKey", new java.lang.Class JavaDoc[] {});
61         $method_getProjectList_4 = hero.interfaces.UserSoapXML.class.getMethod("getProjectList", new java.lang.Class JavaDoc[] {});
62         $method_getToDoList_5 = hero.interfaces.UserSoapXML.class.getMethod("getToDoList", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
63         $method_getUser_6 = hero.interfaces.UserSoapXML.class.getMethod("getUser", new java.lang.Class JavaDoc[] {});
64         $method_getUserJabber_7 = hero.interfaces.UserSoapXML.class.getMethod("getUserJabber", new java.lang.Class JavaDoc[] {});
65         $method_getUserLightValue_8 = hero.interfaces.UserSoapXML.class.getMethod("getUserLightValue", new java.lang.Class JavaDoc[] {});
66         $method_getUserMail_9 = hero.interfaces.UserSoapXML.class.getMethod("getUserMail", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
67         $method_getUserPassword_10 = hero.interfaces.UserSoapXML.class.getMethod("getUserPassword", new java.lang.Class JavaDoc[] {});
68         $method_getUserProperties_11 = hero.interfaces.UserSoapXML.class.getMethod("getUserProperties", new java.lang.Class JavaDoc[] {});
69         $method_isIdentical_12 = javax.ejb.EJBObject JavaDoc.class.getMethod("isIdentical", new java.lang.Class JavaDoc[] {javax.ejb.EJBObject JavaDoc.class});
70         $method_remove_13 = javax.ejb.EJBObject JavaDoc.class.getMethod("remove", new java.lang.Class JavaDoc[] {});
71     } catch (java.lang.NoSuchMethodException JavaDoc e) {
72         useNewInvoke = false;
73     }
74     }
75     
76     // constructors
77
public JOnASUserSoapXML_1012985911Remote_Stub() {
78     super();
79     }
80     public JOnASUserSoapXML_1012985911Remote_Stub(java.rmi.server.RemoteRef JavaDoc ref) {
81     super(ref);
82     }
83     
84     // methods from remote interfaces
85

86     // implementation of getActivityList(String)
87
public java.lang.String JavaDoc getActivityList(java.lang.String JavaDoc $param_String_1)
88     throws hero.util.HeroException, java.rmi.RemoteException JavaDoc
89     {
90     try {
91         if (useNewInvoke) {
92         Object JavaDoc $result = ref.invoke(this, $method_getActivityList_0, new java.lang.Object JavaDoc[] {$param_String_1}, -6921890765575646791L);
93         return ((java.lang.String JavaDoc) $result);
94         } else {
95         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 0, interfaceHash);
96         try {
97             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
98             out.writeObject($param_String_1);
99         } catch (java.io.IOException JavaDoc e) {
100             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
101         }
102         ref.invoke(call);
103         java.lang.String JavaDoc $result;
104         try {
105             java.io.ObjectInput JavaDoc in = call.getInputStream();
106             $result = (java.lang.String JavaDoc) in.readObject();
107         } catch (java.io.IOException JavaDoc e) {
108             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
109         } catch (java.lang.ClassNotFoundException JavaDoc e) {
110             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
111         } finally {
112             ref.done(call);
113         }
114         return $result;
115         }
116     } catch (java.lang.RuntimeException JavaDoc e) {
117         throw e;
118     } catch (java.rmi.RemoteException JavaDoc e) {
119         throw e;
120     } catch (hero.util.HeroException e) {
121         throw e;
122     } catch (java.lang.Exception JavaDoc e) {
123         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
124     }
125     }
126     
127     // implementation of getEJBHome()
128
public javax.ejb.EJBHome JavaDoc getEJBHome()
129     throws java.rmi.RemoteException JavaDoc
130     {
131     try {
132         if (useNewInvoke) {
133         Object JavaDoc $result = ref.invoke(this, $method_getEJBHome_1, null, 3163754803894080547L);
134         return ((javax.ejb.EJBHome JavaDoc) $result);
135         } else {
136         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 1, interfaceHash);
137         ref.invoke(call);
138         javax.ejb.EJBHome JavaDoc $result;
139         try {
140             java.io.ObjectInput JavaDoc in = call.getInputStream();
141             $result = (javax.ejb.EJBHome JavaDoc) in.readObject();
142         } catch (java.io.IOException JavaDoc e) {
143             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
144         } catch (java.lang.ClassNotFoundException JavaDoc e) {
145             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
146         } finally {
147             ref.done(call);
148         }
149         return $result;
150         }
151     } catch (java.lang.RuntimeException JavaDoc e) {
152         throw e;
153     } catch (java.rmi.RemoteException JavaDoc e) {
154         throw e;
155     } catch (java.lang.Exception JavaDoc e) {
156         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
157     }
158     }
159     
160     // implementation of getHandle()
161
public javax.ejb.Handle JavaDoc getHandle()
162     throws java.rmi.RemoteException JavaDoc
163     {
164     try {
165         if (useNewInvoke) {
166         Object JavaDoc $result = ref.invoke(this, $method_getHandle_2, null, -1299374689989208114L);
167         return ((javax.ejb.Handle JavaDoc) $result);
168         } else {
169         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 2, interfaceHash);
170         ref.invoke(call);
171         javax.ejb.Handle JavaDoc $result;
172         try {
173             java.io.ObjectInput JavaDoc in = call.getInputStream();
174             $result = (javax.ejb.Handle JavaDoc) in.readObject();
175         } catch (java.io.IOException JavaDoc e) {
176             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
177         } catch (java.lang.ClassNotFoundException JavaDoc e) {
178             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
179         } finally {
180             ref.done(call);
181         }
182         return $result;
183         }
184     } catch (java.lang.RuntimeException JavaDoc e) {
185         throw e;
186     } catch (java.rmi.RemoteException JavaDoc e) {
187         throw e;
188     } catch (java.lang.Exception JavaDoc e) {
189         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
190     }
191     }
192     
193     // implementation of getPrimaryKey()
194
public java.lang.Object JavaDoc getPrimaryKey()
195     throws java.rmi.RemoteException JavaDoc
196     {
197     try {
198         if (useNewInvoke) {
199         Object JavaDoc $result = ref.invoke(this, $method_getPrimaryKey_3, null, 4840115071604865751L);
200         return ((java.lang.Object JavaDoc) $result);
201         } else {
202         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 3, interfaceHash);
203         ref.invoke(call);
204         java.lang.Object JavaDoc $result;
205         try {
206             java.io.ObjectInput JavaDoc in = call.getInputStream();
207             $result = (java.lang.Object JavaDoc) in.readObject();
208         } catch (java.io.IOException JavaDoc e) {
209             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
210         } catch (java.lang.ClassNotFoundException JavaDoc e) {
211             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
212         } finally {
213             ref.done(call);
214         }
215         return $result;
216         }
217     } catch (java.lang.RuntimeException JavaDoc e) {
218         throw e;
219     } catch (java.rmi.RemoteException JavaDoc e) {
220         throw e;
221     } catch (java.lang.Exception JavaDoc e) {
222         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
223     }
224     }
225     
226     // implementation of getProjectList()
227
public java.lang.String JavaDoc getProjectList()
228     throws hero.util.HeroException, java.rmi.RemoteException JavaDoc
229     {
230     try {
231         if (useNewInvoke) {
232         Object JavaDoc $result = ref.invoke(this, $method_getProjectList_4, null, 922920423378174042L);
233         return ((java.lang.String JavaDoc) $result);
234         } else {
235         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 4, interfaceHash);
236         ref.invoke(call);
237         java.lang.String JavaDoc $result;
238         try {
239             java.io.ObjectInput JavaDoc in = call.getInputStream();
240             $result = (java.lang.String JavaDoc) in.readObject();
241         } catch (java.io.IOException JavaDoc e) {
242             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
243         } catch (java.lang.ClassNotFoundException JavaDoc e) {
244             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
245         } finally {
246             ref.done(call);
247         }
248         return $result;
249         }
250     } catch (java.lang.RuntimeException JavaDoc e) {
251         throw e;
252     } catch (java.rmi.RemoteException JavaDoc e) {
253         throw e;
254     } catch (hero.util.HeroException e) {
255         throw e;
256     } catch (java.lang.Exception JavaDoc e) {
257         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
258     }
259     }
260     
261     // implementation of getToDoList(String)
262
public java.lang.String JavaDoc getToDoList(java.lang.String JavaDoc $param_String_1)
263     throws hero.util.HeroException, java.rmi.RemoteException JavaDoc
264     {
265     try {
266         if (useNewInvoke) {
267         Object JavaDoc $result = ref.invoke(this, $method_getToDoList_5, new java.lang.Object JavaDoc[] {$param_String_1}, 6645161914618982528L);
268         return ((java.lang.String JavaDoc) $result);
269         } else {
270         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 5, interfaceHash);
271         try {
272             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
273             out.writeObject($param_String_1);
274         } catch (java.io.IOException JavaDoc e) {
275             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
276         }
277         ref.invoke(call);
278         java.lang.String JavaDoc $result;
279         try {
280             java.io.ObjectInput JavaDoc in = call.getInputStream();
281             $result = (java.lang.String JavaDoc) in.readObject();
282         } catch (java.io.IOException JavaDoc e) {
283             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
284         } catch (java.lang.ClassNotFoundException JavaDoc e) {
285             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
286         } finally {
287             ref.done(call);
288         }
289         return $result;
290         }
291     } catch (java.lang.RuntimeException JavaDoc e) {
292         throw e;
293     } catch (java.rmi.RemoteException JavaDoc e) {
294         throw e;
295     } catch (hero.util.HeroException e) {
296         throw e;
297     } catch (java.lang.Exception JavaDoc e) {
298         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
299     }
300     }
301     
302     // implementation of getUser()
303
public java.lang.String JavaDoc getUser()
304     throws java.rmi.RemoteException JavaDoc
305     {
306     try {
307         if (useNewInvoke) {
308         Object JavaDoc $result = ref.invoke(this, $method_getUser_6, null, -5511863242770432035L);
309         return ((java.lang.String JavaDoc) $result);
310         } else {
311         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 6, interfaceHash);
312         ref.invoke(call);
313         java.lang.String JavaDoc $result;
314         try {
315             java.io.ObjectInput JavaDoc in = call.getInputStream();
316             $result = (java.lang.String JavaDoc) in.readObject();
317         } catch (java.io.IOException JavaDoc e) {
318             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
319         } catch (java.lang.ClassNotFoundException JavaDoc e) {
320             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
321         } finally {
322             ref.done(call);
323         }
324         return $result;
325         }
326     } catch (java.lang.RuntimeException JavaDoc e) {
327         throw e;
328     } catch (java.rmi.RemoteException JavaDoc e) {
329         throw e;
330     } catch (java.lang.Exception JavaDoc e) {
331         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
332     }
333     }
334     
335     // implementation of getUserJabber()
336
public java.lang.String JavaDoc getUserJabber()
337     throws hero.util.HeroException, java.rmi.RemoteException JavaDoc
338     {
339     try {
340         if (useNewInvoke) {
341         Object JavaDoc $result = ref.invoke(this, $method_getUserJabber_7, null, 4921676012041785179L);
342         return ((java.lang.String JavaDoc) $result);
343         } else {
344         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 7, interfaceHash);
345         ref.invoke(call);
346         java.lang.String JavaDoc $result;
347         try {
348             java.io.ObjectInput JavaDoc in = call.getInputStream();
349             $result = (java.lang.String JavaDoc) in.readObject();
350         } catch (java.io.IOException JavaDoc e) {
351             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
352         } catch (java.lang.ClassNotFoundException JavaDoc e) {
353             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
354         } finally {
355             ref.done(call);
356         }
357         return $result;
358         }
359     } catch (java.lang.RuntimeException JavaDoc e) {
360         throw e;
361     } catch (java.rmi.RemoteException JavaDoc e) {
362         throw e;
363     } catch (hero.util.HeroException e) {
364         throw e;
365     } catch (java.lang.Exception JavaDoc e) {
366         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
367     }
368     }
369     
370     // implementation of getUserLightValue()
371
public hero.interfaces.BnUserLightValue getUserLightValue()
372     throws hero.util.HeroException, java.rmi.RemoteException JavaDoc
373     {
374     try {
375         if (useNewInvoke) {
376         Object JavaDoc $result = ref.invoke(this, $method_getUserLightValue_8, null, 4156723949748285817L);
377         return ((hero.interfaces.BnUserLightValue) $result);
378         } else {
379         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 8, interfaceHash);
380         ref.invoke(call);
381         hero.interfaces.BnUserLightValue $result;
382         try {
383             java.io.ObjectInput JavaDoc in = call.getInputStream();
384             $result = (hero.interfaces.BnUserLightValue) in.readObject();
385         } catch (java.io.IOException JavaDoc e) {
386             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
387         } catch (java.lang.ClassNotFoundException JavaDoc e) {
388             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
389         } finally {
390             ref.done(call);
391         }
392         return $result;
393         }
394     } catch (java.lang.RuntimeException JavaDoc e) {
395         throw e;
396     } catch (java.rmi.RemoteException JavaDoc e) {
397         throw e;
398     } catch (hero.util.HeroException e) {
399         throw e;
400     } catch (java.lang.Exception JavaDoc e) {
401         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
402     }
403     }
404     
405     // implementation of getUserMail(String)
406
public java.lang.String JavaDoc getUserMail(java.lang.String JavaDoc $param_String_1)
407     throws hero.util.HeroException, java.rmi.RemoteException JavaDoc
408     {
409     try {
410         if (useNewInvoke) {
411         Object JavaDoc $result = ref.invoke(this, $method_getUserMail_9, new java.lang.Object JavaDoc[] {$param_String_1}, 2868707759684277369L);
412         return ((java.lang.String JavaDoc) $result);
413         } else {
414         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 9, interfaceHash);
415         try {
416             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
417             out.writeObject($param_String_1);
418         } catch (java.io.IOException JavaDoc e) {
419             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
420         }
421         ref.invoke(call);
422         java.lang.String JavaDoc $result;
423         try {
424             java.io.ObjectInput JavaDoc in = call.getInputStream();
425             $result = (java.lang.String JavaDoc) in.readObject();
426         } catch (java.io.IOException JavaDoc e) {
427             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
428         } catch (java.lang.ClassNotFoundException JavaDoc e) {
429             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
430         } finally {
431             ref.done(call);
432         }
433         return $result;
434         }
435     } catch (java.lang.RuntimeException JavaDoc e) {
436         throw e;
437     } catch (java.rmi.RemoteException JavaDoc e) {
438         throw e;
439     } catch (hero.util.HeroException e) {
440         throw e;
441     } catch (java.lang.Exception JavaDoc e) {
442         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
443     }
444     }
445     
446     // implementation of getUserPassword()
447
public java.lang.String JavaDoc getUserPassword()
448     throws hero.util.HeroException, java.rmi.RemoteException JavaDoc
449     {
450     try {
451         if (useNewInvoke) {
452         Object JavaDoc $result = ref.invoke(this, $method_getUserPassword_10, null, -1750990224004817285L);
453         return ((java.lang.String JavaDoc) $result);
454         } else {
455         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 10, interfaceHash);
456         ref.invoke(call);
457         java.lang.String JavaDoc $result;
458         try {
459             java.io.ObjectInput JavaDoc in = call.getInputStream();
460             $result = (java.lang.String JavaDoc) in.readObject();
461         } catch (java.io.IOException JavaDoc e) {
462             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
463         } catch (java.lang.ClassNotFoundException JavaDoc e) {
464             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
465         } finally {
466             ref.done(call);
467         }
468         return $result;
469         }
470     } catch (java.lang.RuntimeException JavaDoc e) {
471         throw e;
472     } catch (java.rmi.RemoteException JavaDoc e) {
473         throw e;
474     } catch (hero.util.HeroException e) {
475         throw e;
476     } catch (java.lang.Exception JavaDoc e) {
477         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
478     }
479     }
480     
481     // implementation of getUserProperties()
482
public java.lang.String JavaDoc getUserProperties()
483     throws hero.util.HeroException, java.rmi.RemoteException JavaDoc
484     {
485     try {
486         if (useNewInvoke) {
487         Object JavaDoc $result = ref.invoke(this, $method_getUserProperties_11, null, -8755802740163267970L);
488         return ((java.lang.String JavaDoc) $result);
489         } else {
490         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 11, interfaceHash);
491         ref.invoke(call);
492         java.lang.String JavaDoc $result;
493         try {
494             java.io.ObjectInput JavaDoc in = call.getInputStream();
495             $result = (java.lang.String JavaDoc) in.readObject();
496         } catch (java.io.IOException JavaDoc e) {
497             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
498         } catch (java.lang.ClassNotFoundException JavaDoc e) {
499             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
500         } finally {
501             ref.done(call);
502         }
503         return $result;
504         }
505     } catch (java.lang.RuntimeException JavaDoc e) {
506         throw e;
507     } catch (java.rmi.RemoteException JavaDoc e) {
508         throw e;
509     } catch (hero.util.HeroException e) {
510         throw e;
511     } catch (java.lang.Exception JavaDoc e) {
512         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
513     }
514     }
515     
516     // implementation of isIdentical(EJBObject)
517
public boolean isIdentical(javax.ejb.EJBObject JavaDoc $param_EJBObject_1)
518     throws java.rmi.RemoteException JavaDoc
519     {
520     try {
521         if (useNewInvoke) {
522         Object JavaDoc $result = ref.invoke(this, $method_isIdentical_12, new java.lang.Object JavaDoc[] {$param_EJBObject_1}, -5909123752501984271L);
523         return ((java.lang.Boolean JavaDoc) $result).booleanValue();
524         } else {
525         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 12, interfaceHash);
526         try {
527             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
528             out.writeObject($param_EJBObject_1);
529         } catch (java.io.IOException JavaDoc e) {
530             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
531         }
532         ref.invoke(call);
533         boolean $result;
534         try {
535             java.io.ObjectInput JavaDoc in = call.getInputStream();
536             $result = in.readBoolean();
537         } catch (java.io.IOException JavaDoc e) {
538             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
539         } finally {
540             ref.done(call);
541         }
542         return $result;
543         }
544     } catch (java.lang.RuntimeException JavaDoc e) {
545         throw e;
546     } catch (java.rmi.RemoteException JavaDoc e) {
547         throw e;
548     } catch (java.lang.Exception JavaDoc e) {
549         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
550     }
551     }
552     
553     // implementation of remove()
554
public void remove()
555     throws java.rmi.RemoteException JavaDoc, javax.ejb.RemoveException JavaDoc
556     {
557     try {
558         if (useNewInvoke) {
559         ref.invoke(this, $method_remove_13, null, -5013858639939630501L);
560         } else {
561         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 13, interfaceHash);
562         ref.invoke(call);
563         ref.done(call);
564         }
565     } catch (java.lang.RuntimeException JavaDoc e) {
566         throw e;
567     } catch (java.rmi.RemoteException JavaDoc e) {
568         throw e;
569     } catch (javax.ejb.RemoveException JavaDoc e) {
570         throw e;
571     } catch (java.lang.Exception JavaDoc e) {
572         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
573     }
574     }
575 }
576
Popular Tags