KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > interfaces > JOnASBnProject2046800545Home_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 JOnASBnProject2046800545Home_Stub
7     extends java.rmi.server.RemoteStub JavaDoc
8     implements hero.interfaces.BnProjectHome, java.rmi.Remote JavaDoc, javax.ejb.EJBHome JavaDoc
9 {
10     private static final java.rmi.server.Operation JavaDoc[] operations = {
11     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnProject create()"),
12     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnProject create(java.lang.String, java.lang.String)"),
13     new java.rmi.server.Operation JavaDoc("java.util.Collection findAll()"),
14     new java.rmi.server.Operation JavaDoc("java.util.Collection findByAdmin(java.lang.String, java.lang.String, java.lang.String)"),
15     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnProject findByName(java.lang.String)"),
16     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnProject findByPrimaryKey(hero.interfaces.BnProjectPK)"),
17     new java.rmi.server.Operation JavaDoc("java.util.Collection findByUser(java.lang.String)"),
18     new java.rmi.server.Operation JavaDoc("java.util.Collection findModels(java.lang.String)"),
19     new java.rmi.server.Operation JavaDoc("java.util.Collection findProjectsByProperty(java.lang.String, java.lang.String)"),
20     new java.rmi.server.Operation JavaDoc("java.util.Collection findUserInstancesByProject(java.lang.String, java.lang.String)"),
21     new java.rmi.server.Operation JavaDoc("javax.ejb.EJBMetaData getEJBMetaData()"),
22     new java.rmi.server.Operation JavaDoc("javax.ejb.HomeHandle getHomeHandle()"),
23     new java.rmi.server.Operation JavaDoc("void remove(java.lang.Object)"),
24     new java.rmi.server.Operation JavaDoc("void remove(javax.ejb.Handle)")
25     };
26     
27     private static final long interfaceHash = -9173366630041789500L;
28     
29     private static final long serialVersionUID = 2;
30     
31     private static boolean useNewInvoke;
32     private static java.lang.reflect.Method JavaDoc $method_create_0;
33     private static java.lang.reflect.Method JavaDoc $method_create_1;
34     private static java.lang.reflect.Method JavaDoc $method_findAll_2;
35     private static java.lang.reflect.Method JavaDoc $method_findByAdmin_3;
36     private static java.lang.reflect.Method JavaDoc $method_findByName_4;
37     private static java.lang.reflect.Method JavaDoc $method_findByPrimaryKey_5;
38     private static java.lang.reflect.Method JavaDoc $method_findByUser_6;
39     private static java.lang.reflect.Method JavaDoc $method_findModels_7;
40     private static java.lang.reflect.Method JavaDoc $method_findProjectsByProperty_8;
41     private static java.lang.reflect.Method JavaDoc $method_findUserInstancesByProject_9;
42     private static java.lang.reflect.Method JavaDoc $method_getEJBMetaData_10;
43     private static java.lang.reflect.Method JavaDoc $method_getHomeHandle_11;
44     private static java.lang.reflect.Method JavaDoc $method_remove_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_create_0 = hero.interfaces.BnProjectHome.class.getMethod("create", new java.lang.Class JavaDoc[] {});
58         $method_create_1 = hero.interfaces.BnProjectHome.class.getMethod("create", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class, java.lang.String JavaDoc.class});
59         $method_findAll_2 = hero.interfaces.BnProjectHome.class.getMethod("findAll", new java.lang.Class JavaDoc[] {});
60         $method_findByAdmin_3 = hero.interfaces.BnProjectHome.class.getMethod("findByAdmin", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class, java.lang.String JavaDoc.class, java.lang.String JavaDoc.class});
61         $method_findByName_4 = hero.interfaces.BnProjectHome.class.getMethod("findByName", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
62         $method_findByPrimaryKey_5 = hero.interfaces.BnProjectHome.class.getMethod("findByPrimaryKey", new java.lang.Class JavaDoc[] {hero.interfaces.BnProjectPK.class});
63         $method_findByUser_6 = hero.interfaces.BnProjectHome.class.getMethod("findByUser", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
64         $method_findModels_7 = hero.interfaces.BnProjectHome.class.getMethod("findModels", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
65         $method_findProjectsByProperty_8 = hero.interfaces.BnProjectHome.class.getMethod("findProjectsByProperty", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class, java.lang.String JavaDoc.class});
66         $method_findUserInstancesByProject_9 = hero.interfaces.BnProjectHome.class.getMethod("findUserInstancesByProject", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class, java.lang.String JavaDoc.class});
67         $method_getEJBMetaData_10 = javax.ejb.EJBHome JavaDoc.class.getMethod("getEJBMetaData", new java.lang.Class JavaDoc[] {});
68         $method_getHomeHandle_11 = javax.ejb.EJBHome JavaDoc.class.getMethod("getHomeHandle", new java.lang.Class JavaDoc[] {});
69         $method_remove_12 = javax.ejb.EJBHome JavaDoc.class.getMethod("remove", new java.lang.Class JavaDoc[] {java.lang.Object JavaDoc.class});
70         $method_remove_13 = javax.ejb.EJBHome JavaDoc.class.getMethod("remove", new java.lang.Class JavaDoc[] {javax.ejb.Handle JavaDoc.class});
71     } catch (java.lang.NoSuchMethodException JavaDoc e) {
72         useNewInvoke = false;
73     }
74     }
75     
76     // constructors
77
public JOnASBnProject2046800545Home_Stub() {
78     super();
79     }
80     public JOnASBnProject2046800545Home_Stub(java.rmi.server.RemoteRef JavaDoc ref) {
81     super(ref);
82     }
83     
84     // methods from remote interfaces
85

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