KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > interfaces > JOnASBnProjectInterHook555855533Remote_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 JOnASBnProjectInterHook555855533Remote_Stub
7     extends java.rmi.server.RemoteStub JavaDoc
8     implements hero.interfaces.BnProjectInterHook, 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("hero.interfaces.BnProjectLocal getBnProject()"),
12     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnProjectInterHookValue getBnProjectInterHookValue()"),
13     new java.rmi.server.Operation JavaDoc("javax.ejb.EJBHome getEJBHome()"),
14     new java.rmi.server.Operation JavaDoc("java.lang.String getEvent()"),
15     new java.rmi.server.Operation JavaDoc("javax.ejb.Handle getHandle()"),
16     new java.rmi.server.Operation JavaDoc("java.lang.String getName()"),
17     new java.rmi.server.Operation JavaDoc("java.lang.Object getPrimaryKey()"),
18     new java.rmi.server.Operation JavaDoc("java.lang.String getScript()"),
19     new java.rmi.server.Operation JavaDoc("int getType()"),
20     new java.rmi.server.Operation JavaDoc("boolean isIdentical(javax.ejb.EJBObject)"),
21     new java.rmi.server.Operation JavaDoc("void remove()"),
22     new java.rmi.server.Operation JavaDoc("void setBnProjectInterHookValue(hero.interfaces.BnProjectInterHookValue)"),
23     new java.rmi.server.Operation JavaDoc("void setEvent(java.lang.String)"),
24     new java.rmi.server.Operation JavaDoc("void setName(java.lang.String)"),
25     new java.rmi.server.Operation JavaDoc("void setScript(java.lang.String)"),
26     new java.rmi.server.Operation JavaDoc("void setType(int)")
27     };
28     
29     private static final long interfaceHash = -9072348923996110030L;
30     
31     private static final long serialVersionUID = 2;
32     
33     private static boolean useNewInvoke;
34     private static java.lang.reflect.Method JavaDoc $method_getBnProject_0;
35     private static java.lang.reflect.Method JavaDoc $method_getBnProjectInterHookValue_1;
36     private static java.lang.reflect.Method JavaDoc $method_getEJBHome_2;
37     private static java.lang.reflect.Method JavaDoc $method_getEvent_3;
38     private static java.lang.reflect.Method JavaDoc $method_getHandle_4;
39     private static java.lang.reflect.Method JavaDoc $method_getName_5;
40     private static java.lang.reflect.Method JavaDoc $method_getPrimaryKey_6;
41     private static java.lang.reflect.Method JavaDoc $method_getScript_7;
42     private static java.lang.reflect.Method JavaDoc $method_getType_8;
43     private static java.lang.reflect.Method JavaDoc $method_isIdentical_9;
44     private static java.lang.reflect.Method JavaDoc $method_remove_10;
45     private static java.lang.reflect.Method JavaDoc $method_setBnProjectInterHookValue_11;
46     private static java.lang.reflect.Method JavaDoc $method_setEvent_12;
47     private static java.lang.reflect.Method JavaDoc $method_setName_13;
48     private static java.lang.reflect.Method JavaDoc $method_setScript_14;
49     private static java.lang.reflect.Method JavaDoc $method_setType_15;
50     
51     static {
52     try {
53         java.rmi.server.RemoteRef JavaDoc.class.getMethod("invoke",
54         new java.lang.Class JavaDoc[] {
55             java.rmi.Remote JavaDoc.class,
56             java.lang.reflect.Method JavaDoc.class,
57             java.lang.Object JavaDoc[].class,
58             long.class
59         });
60         useNewInvoke = true;
61         $method_getBnProject_0 = hero.interfaces.BnProjectInterHook.class.getMethod("getBnProject", new java.lang.Class JavaDoc[] {});
62         $method_getBnProjectInterHookValue_1 = hero.interfaces.BnProjectInterHook.class.getMethod("getBnProjectInterHookValue", new java.lang.Class JavaDoc[] {});
63         $method_getEJBHome_2 = javax.ejb.EJBObject JavaDoc.class.getMethod("getEJBHome", new java.lang.Class JavaDoc[] {});
64         $method_getEvent_3 = hero.interfaces.BnProjectInterHook.class.getMethod("getEvent", new java.lang.Class JavaDoc[] {});
65         $method_getHandle_4 = javax.ejb.EJBObject JavaDoc.class.getMethod("getHandle", new java.lang.Class JavaDoc[] {});
66         $method_getName_5 = hero.interfaces.BnProjectInterHook.class.getMethod("getName", new java.lang.Class JavaDoc[] {});
67         $method_getPrimaryKey_6 = javax.ejb.EJBObject JavaDoc.class.getMethod("getPrimaryKey", new java.lang.Class JavaDoc[] {});
68         $method_getScript_7 = hero.interfaces.BnProjectInterHook.class.getMethod("getScript", new java.lang.Class JavaDoc[] {});
69         $method_getType_8 = hero.interfaces.BnProjectInterHook.class.getMethod("getType", new java.lang.Class JavaDoc[] {});
70         $method_isIdentical_9 = javax.ejb.EJBObject JavaDoc.class.getMethod("isIdentical", new java.lang.Class JavaDoc[] {javax.ejb.EJBObject JavaDoc.class});
71         $method_remove_10 = javax.ejb.EJBObject JavaDoc.class.getMethod("remove", new java.lang.Class JavaDoc[] {});
72         $method_setBnProjectInterHookValue_11 = hero.interfaces.BnProjectInterHook.class.getMethod("setBnProjectInterHookValue", new java.lang.Class JavaDoc[] {hero.interfaces.BnProjectInterHookValue.class});
73         $method_setEvent_12 = hero.interfaces.BnProjectInterHook.class.getMethod("setEvent", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
74         $method_setName_13 = hero.interfaces.BnProjectInterHook.class.getMethod("setName", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
75         $method_setScript_14 = hero.interfaces.BnProjectInterHook.class.getMethod("setScript", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
76         $method_setType_15 = hero.interfaces.BnProjectInterHook.class.getMethod("setType", new java.lang.Class JavaDoc[] {int.class});
77     } catch (java.lang.NoSuchMethodException JavaDoc e) {
78         useNewInvoke = false;
79     }
80     }
81     
82     // constructors
83
public JOnASBnProjectInterHook555855533Remote_Stub() {
84     super();
85     }
86     public JOnASBnProjectInterHook555855533Remote_Stub(java.rmi.server.RemoteRef JavaDoc ref) {
87     super(ref);
88     }
89     
90     // methods from remote interfaces
91

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