1
2
3
4 package nl.tudelft.simulation.naming;
5
6 public final class RemoteContext_Stub extends java.rmi.server.RemoteStub
7 implements nl.tudelft.simulation.naming.RemoteContextInterface,
8 java.rmi.Remote
9 {
10 private static final java.rmi.server.Operation[] operations = {
11 new java.rmi.server.Operation(
12 "void addNamingListener(java.lang.String, int, nl.tudelft.simulation.naming.listener.RemoteContextListenerInterface)"),
13 new java.rmi.server.Operation(
14 "void addNamingListener(javax.naming.Name, int, nl.tudelft.simulation.naming.listener.RemoteContextListenerInterface)"),
15 new java.rmi.server.Operation(
16 "java.lang.Object addToEnvironment(java.lang.String, java.lang.Object)"),
17 new java.rmi.server.Operation(
18 "void bind(java.lang.String, java.lang.Object)"),
19 new java.rmi.server.Operation(
20 "void bind(javax.naming.Name, java.lang.Object)"),
21 new java.rmi.server.Operation("void close()"),
22 new java.rmi.server.Operation(
23 "java.lang.String composeName(java.lang.String, java.lang.String)"),
24 new java.rmi.server.Operation(
25 "javax.naming.Name composeName(javax.naming.Name, javax.naming.Name)"),
26 new java.rmi.server.Operation(
27 "nl.tudelft.simulation.naming.RemoteContextInterface createSubcontext(java.lang.String)"),
28 new java.rmi.server.Operation(
29 "nl.tudelft.simulation.naming.RemoteContextInterface createSubcontext(javax.naming.Name)"),
30 new java.rmi.server.Operation(
31 "void destroySubcontext(java.lang.String)"),
32 new java.rmi.server.Operation(
33 "void destroySubcontext(javax.naming.Name)"),
34 new java.rmi.server.Operation(
35 "java.util.Hashtable getEnvironment()"),
36 new java.rmi.server.Operation(
37 "java.lang.String getNameInNamespace()"),
38 new java.rmi.server.Operation(
39 "javax.naming.NameParser getNameParser(java.lang.String)"),
40 new java.rmi.server.Operation(
41 "javax.naming.NameParser getNameParser(javax.naming.Name)"),
42 new java.rmi.server.Operation(
43 "javax.naming.NamingEnumeration list(java.lang.String)"),
44 new java.rmi.server.Operation(
45 "javax.naming.NamingEnumeration list(javax.naming.Name)"),
46 new java.rmi.server.Operation(
47 "javax.naming.NamingEnumeration listBindings(java.lang.String)"),
48 new java.rmi.server.Operation(
49 "javax.naming.NamingEnumeration listBindings(javax.naming.Name)"),
50 new java.rmi.server.Operation(
51 "java.lang.Object lookup(java.lang.String)"),
52 new java.rmi.server.Operation(
53 "java.lang.Object lookup(javax.naming.Name)"),
54 new java.rmi.server.Operation(
55 "java.lang.Object lookupLink(java.lang.String)"),
56 new java.rmi.server.Operation(
57 "java.lang.Object lookupLink(javax.naming.Name)"),
58 new java.rmi.server.Operation(
59 "void rebind(java.lang.String, java.lang.Object)"),
60 new java.rmi.server.Operation(
61 "void rebind(javax.naming.Name, java.lang.Object)"),
62 new java.rmi.server.Operation(
63 "java.lang.Object removeFromEnvironment(java.lang.String)"),
64 new java.rmi.server.Operation(
65 "void removeNamingListener(nl.tudelft.simulation.naming.listener.RemoteContextListenerInterface)"),
66 new java.rmi.server.Operation(
67 "void rename(java.lang.String, java.lang.String)"),
68 new java.rmi.server.Operation(
69 "void rename(javax.naming.Name, javax.naming.Name)"),
70 new java.rmi.server.Operation("boolean targetMustExist()"),
71 new java.rmi.server.Operation("void unbind(java.lang.String)"),
72 new java.rmi.server.Operation("void unbind(javax.naming.Name)")};
73
74 private static final long interfaceHash = 3693339914894794256L;
75
76 private static final long serialVersionUID = 2;
77
78 private static boolean useNewInvoke;
79
80 private static java.lang.reflect.Method $method_addNamingListener_0;
81
82 private static java.lang.reflect.Method $method_addNamingListener_1;
83
84 private static java.lang.reflect.Method $method_addToEnvironment_2;
85
86 private static java.lang.reflect.Method $method_bind_3;
87
88 private static java.lang.reflect.Method $method_bind_4;
89
90 private static java.lang.reflect.Method $method_close_5;
91
92 private static java.lang.reflect.Method $method_composeName_6;
93
94 private static java.lang.reflect.Method $method_composeName_7;
95
96 private static java.lang.reflect.Method $method_createSubcontext_8;
97
98 private static java.lang.reflect.Method $method_createSubcontext_9;
99
100 private static java.lang.reflect.Method $method_destroySubcontext_10;
101
102 private static java.lang.reflect.Method $method_destroySubcontext_11;
103
104 private static java.lang.reflect.Method $method_getEnvironment_12;
105
106 private static java.lang.reflect.Method $method_getNameInNamespace_13;
107
108 private static java.lang.reflect.Method $method_getNameParser_14;
109
110 private static java.lang.reflect.Method $method_getNameParser_15;
111
112 private static java.lang.reflect.Method $method_list_16;
113
114 private static java.lang.reflect.Method $method_list_17;
115
116 private static java.lang.reflect.Method $method_listBindings_18;
117
118 private static java.lang.reflect.Method $method_listBindings_19;
119
120 private static java.lang.reflect.Method $method_lookup_20;
121
122 private static java.lang.reflect.Method $method_lookup_21;
123
124 private static java.lang.reflect.Method $method_lookupLink_22;
125
126 private static java.lang.reflect.Method $method_lookupLink_23;
127
128 private static java.lang.reflect.Method $method_rebind_24;
129
130 private static java.lang.reflect.Method $method_rebind_25;
131
132 private static java.lang.reflect.Method $method_removeFromEnvironment_26;
133
134 private static java.lang.reflect.Method $method_removeNamingListener_27;
135
136 private static java.lang.reflect.Method $method_rename_28;
137
138 private static java.lang.reflect.Method $method_rename_29;
139
140 private static java.lang.reflect.Method $method_targetMustExist_30;
141
142 private static java.lang.reflect.Method $method_unbind_31;
143
144 private static java.lang.reflect.Method $method_unbind_32;
145
146 static
147 {
148 try
149 {
150 java.rmi.server.RemoteRef.class.getMethod("invoke",
151 new java.lang.Class[]{java.rmi.Remote.class,
152 java.lang.reflect.Method.class,
153 java.lang.Object[].class, long.class});
154 useNewInvoke = true;
155 $method_addNamingListener_0 = nl.tudelft.simulation.naming.RemoteContextInterface.class
156 .getMethod(
157 "addNamingListener",
158 new java.lang.Class[]{
159 java.lang.String.class,
160 int.class,
161 nl.tudelft.simulation.naming.listener.RemoteContextListenerInterface.class});
162 $method_addNamingListener_1 = nl.tudelft.simulation.naming.RemoteContextInterface.class
163 .getMethod(
164 "addNamingListener",
165 new java.lang.Class[]{
166 javax.naming.Name.class,
167 int.class,
168 nl.tudelft.simulation.naming.listener.RemoteContextListenerInterface.class});
169 $method_addToEnvironment_2 = nl.tudelft.simulation.naming.RemoteContextInterface.class
170 .getMethod("addToEnvironment", new java.lang.Class[]{
171 java.lang.String.class, java.lang.Object.class});
172 $method_bind_3 = nl.tudelft.simulation.naming.RemoteContextInterface.class
173 .getMethod("bind", new java.lang.Class[]{
174 java.lang.String.class, java.lang.Object.class});
175 $method_bind_4 = nl.tudelft.simulation.naming.RemoteContextInterface.class
176 .getMethod("bind", new java.lang.Class[]{
177 javax.naming.Name.class, java.lang.Object.class});
178 $method_close_5 = nl.tudelft.simulation.naming.RemoteContextInterface.class
179 .getMethod("close", new java.lang.Class[]{});
180 $method_composeName_6 = nl.tudelft.simulation.naming.RemoteContextInterface.class
181 .getMethod("composeName", new java.lang.Class[]{
182 java.lang.String.class, java.lang.String.class});
183 $method_composeName_7 = nl.tudelft.simulation.naming.RemoteContextInterface.class
184 .getMethod("composeName", new java.lang.Class[]{
185 javax.naming.Name.class, javax.naming.Name.class});
186 $method_createSubcontext_8 = nl.tudelft.simulation.naming.RemoteContextInterface.class
187 .getMethod("createSubcontext",
188 new java.lang.Class[]{java.lang.String.class});
189 $method_createSubcontext_9 = nl.tudelft.simulation.naming.RemoteContextInterface.class
190 .getMethod("createSubcontext",
191 new java.lang.Class[]{javax.naming.Name.class});
192 $method_destroySubcontext_10 = nl.tudelft.simulation.naming.RemoteContextInterface.class
193 .getMethod("destroySubcontext",
194 new java.lang.Class[]{java.lang.String.class});
195 $method_destroySubcontext_11 = nl.tudelft.simulation.naming.RemoteContextInterface.class
196 .getMethod("destroySubcontext",
197 new java.lang.Class[]{javax.naming.Name.class});
198 $method_getEnvironment_12 = nl.tudelft.simulation.naming.RemoteContextInterface.class
199 .getMethod("getEnvironment", new java.lang.Class[]{});
200 $method_getNameInNamespace_13 = nl.tudelft.simulation.naming.RemoteContextInterface.class
201 .getMethod("getNameInNamespace", new java.lang.Class[]{});
202 $method_getNameParser_14 = nl.tudelft.simulation.naming.RemoteContextInterface.class
203 .getMethod("getNameParser",
204 new java.lang.Class[]{java.lang.String.class});
205 $method_getNameParser_15 = nl.tudelft.simulation.naming.RemoteContextInterface.class
206 .getMethod("getNameParser",
207 new java.lang.Class[]{javax.naming.Name.class});
208 $method_list_16 = nl.tudelft.simulation.naming.RemoteContextInterface.class
209 .getMethod("list",
210 new java.lang.Class[]{java.lang.String.class});
211 $method_list_17 = nl.tudelft.simulation.naming.RemoteContextInterface.class
212 .getMethod("list",
213 new java.lang.Class[]{javax.naming.Name.class});
214 $method_listBindings_18 = nl.tudelft.simulation.naming.RemoteContextInterface.class
215 .getMethod("listBindings",
216 new java.lang.Class[]{java.lang.String.class});
217 $method_listBindings_19 = nl.tudelft.simulation.naming.RemoteContextInterface.class
218 .getMethod("listBindings",
219 new java.lang.Class[]{javax.naming.Name.class});
220 $method_lookup_20 = nl.tudelft.simulation.naming.RemoteContextInterface.class
221 .getMethod("lookup",
222 new java.lang.Class[]{java.lang.String.class});
223 $method_lookup_21 = nl.tudelft.simulation.naming.RemoteContextInterface.class
224 .getMethod("lookup",
225 new java.lang.Class[]{javax.naming.Name.class});
226 $method_lookupLink_22 = nl.tudelft.simulation.naming.RemoteContextInterface.class
227 .getMethod("lookupLink",
228 new java.lang.Class[]{java.lang.String.class});
229 $method_lookupLink_23 = nl.tudelft.simulation.naming.RemoteContextInterface.class
230 .getMethod("lookupLink",
231 new java.lang.Class[]{javax.naming.Name.class});
232 $method_rebind_24 = nl.tudelft.simulation.naming.RemoteContextInterface.class
233 .getMethod("rebind", new java.lang.Class[]{
234 java.lang.String.class, java.lang.Object.class});
235 $method_rebind_25 = nl.tudelft.simulation.naming.RemoteContextInterface.class
236 .getMethod("rebind", new java.lang.Class[]{
237 javax.naming.Name.class, java.lang.Object.class});
238 $method_removeFromEnvironment_26 = nl.tudelft.simulation.naming.RemoteContextInterface.class
239 .getMethod("removeFromEnvironment",
240 new java.lang.Class[]{java.lang.String.class});
241 $method_removeNamingListener_27 = nl.tudelft.simulation.naming.RemoteContextInterface.class
242 .getMethod(
243 "removeNamingListener",
244 new java.lang.Class[]{nl.tudelft.simulation.naming.listener.RemoteContextListenerInterface.class});
245 $method_rename_28 = nl.tudelft.simulation.naming.RemoteContextInterface.class
246 .getMethod("rename", new java.lang.Class[]{
247 java.lang.String.class, java.lang.String.class});
248 $method_rename_29 = nl.tudelft.simulation.naming.RemoteContextInterface.class
249 .getMethod("rename", new java.lang.Class[]{
250 javax.naming.Name.class, javax.naming.Name.class});
251 $method_targetMustExist_30 = nl.tudelft.simulation.naming.RemoteContextInterface.class
252 .getMethod("targetMustExist", new java.lang.Class[]{});
253 $method_unbind_31 = nl.tudelft.simulation.naming.RemoteContextInterface.class
254 .getMethod("unbind",
255 new java.lang.Class[]{java.lang.String.class});
256 $method_unbind_32 = nl.tudelft.simulation.naming.RemoteContextInterface.class
257 .getMethod("unbind",
258 new java.lang.Class[]{javax.naming.Name.class});
259 } catch (java.lang.NoSuchMethodException e)
260 {
261 useNewInvoke = false;
262 }
263 }
264
265
266 public RemoteContext_Stub()
267 {
268 super();
269 }
270
271 public RemoteContext_Stub(java.rmi.server.RemoteRef ref)
272 {
273 super(ref);
274 }
275
276
277
278
279
280 public void addNamingListener(
281 java.lang.String $param_String_1,
282 int $param_int_2,
283 nl.tudelft.simulation.naming.listener.RemoteContextListenerInterface $param_RemoteContextListenerInterface_3)
284 throws java.rmi.RemoteException, javax.naming.NamingException
285 {
286 try
287 {
288 if (useNewInvoke)
289 {
290 ref.invoke(this, $method_addNamingListener_0,
291 new java.lang.Object[]{$param_String_1,
292 new java.lang.Integer($param_int_2),
293 $param_RemoteContextListenerInterface_3},
294 9179197076634010990L);
295 } else
296 {
297 java.rmi.server.RemoteCall call = ref.newCall(
298 (java.rmi.server.RemoteObject) this, operations, 0,
299 interfaceHash);
300 try
301 {
302 java.io.ObjectOutput out = call.getOutputStream();
303 out.writeObject($param_String_1);
304 out.writeInt($param_int_2);
305 out.writeObject($param_RemoteContextListenerInterface_3);
306 } catch (java.io.IOException e)
307 {
308 throw new java.rmi.MarshalException(
309 "error marshalling arguments", e);
310 }
311 ref.invoke(call);
312 ref.done(call);
313 }
314 } catch (java.lang.RuntimeException e)
315 {
316 throw e;
317 } catch (java.rmi.RemoteException e)
318 {
319 throw e;
320 } catch (javax.naming.NamingException e)
321 {
322 throw e;
323 } catch (java.lang.Exception e)
324 {
325 throw new java.rmi.UnexpectedException(
326 "undeclared checked exception", e);
327 }
328 }
329
330
331
332 public void addNamingListener(
333 javax.naming.Name $param_Name_1,
334 int $param_int_2,
335 nl.tudelft.simulation.naming.listener.RemoteContextListenerInterface $param_RemoteContextListenerInterface_3)
336 throws java.rmi.RemoteException, javax.naming.NamingException
337 {
338 try
339 {
340 if (useNewInvoke)
341 {
342 ref.invoke(this, $method_addNamingListener_1,
343 new java.lang.Object[]{$param_Name_1,
344 new java.lang.Integer($param_int_2),
345 $param_RemoteContextListenerInterface_3},
346 5053602188799244793L);
347 } else
348 {
349 java.rmi.server.RemoteCall call = ref.newCall(
350 (java.rmi.server.RemoteObject) this, operations, 1,
351 interfaceHash);
352 try
353 {
354 java.io.ObjectOutput out = call.getOutputStream();
355 out.writeObject($param_Name_1);
356 out.writeInt($param_int_2);
357 out.writeObject($param_RemoteContextListenerInterface_3);
358 } catch (java.io.IOException e)
359 {
360 throw new java.rmi.MarshalException(
361 "error marshalling arguments", e);
362 }
363 ref.invoke(call);
364 ref.done(call);
365 }
366 } catch (java.lang.RuntimeException e)
367 {
368 throw e;
369 } catch (java.rmi.RemoteException e)
370 {
371 throw e;
372 } catch (javax.naming.NamingException e)
373 {
374 throw e;
375 } catch (java.lang.Exception e)
376 {
377 throw new java.rmi.UnexpectedException(
378 "undeclared checked exception", e);
379 }
380 }
381
382
383 public java.lang.Object addToEnvironment(java.lang.String $param_String_1,
384 java.lang.Object $param_Object_2) throws java.rmi.RemoteException,
385 javax.naming.NamingException
386 {
387 try
388 {
389 if (useNewInvoke)
390 {
391 Object $result = ref
392 .invoke(this, $method_addToEnvironment_2,
393 new java.lang.Object[]{$param_String_1,
394 $param_Object_2}, 7423587362257126597L);
395 return ((java.lang.Object) $result);
396 } else
397 {
398 java.rmi.server.RemoteCall call = ref.newCall(
399 (java.rmi.server.RemoteObject) this, operations, 2,
400 interfaceHash);
401 try
402 {
403 java.io.ObjectOutput out = call.getOutputStream();
404 out.writeObject($param_String_1);
405 out.writeObject($param_Object_2);
406 } catch (java.io.IOException e)
407 {
408 throw new java.rmi.MarshalException(
409 "error marshalling arguments", e);
410 }
411 ref.invoke(call);
412 java.lang.Object $result;
413 try
414 {
415 java.io.ObjectInput in = call.getInputStream();
416 $result = (java.lang.Object) in.readObject();
417 } catch (java.io.IOException e)
418 {
419 throw new java.rmi.UnmarshalException(
420 "error unmarshalling return", e);
421 } catch (java.lang.ClassNotFoundException e)
422 {
423 throw new java.rmi.UnmarshalException(
424 "error unmarshalling return", e);
425 } finally
426 {
427 ref.done(call);
428 }
429 return $result;
430 }
431 } catch (java.lang.RuntimeException e)
432 {
433 throw e;
434 } catch (java.rmi.RemoteException e)
435 {
436 throw e;
437 } catch (javax.naming.NamingException e)
438 {
439 throw e;
440 } catch (java.lang.Exception e)
441 {
442 throw new java.rmi.UnexpectedException(
443 "undeclared checked exception", e);
444 }
445 }
446
447
448 public void bind(java.lang.String $param_String_1,
449 java.lang.Object $param_Object_2) throws java.rmi.RemoteException,
450 javax.naming.NamingException
451 {
452 try
453 {
454 if (useNewInvoke)
455 {
456 ref
457 .invoke(this, $method_bind_3, new java.lang.Object[]{
458 $param_String_1, $param_Object_2},
459 2512476498253195943L);
460 } else
461 {
462 java.rmi.server.RemoteCall call = ref.newCall(
463 (java.rmi.server.RemoteObject) this, operations, 3,
464 interfaceHash);
465 try
466 {
467 java.io.ObjectOutput out = call.getOutputStream();
468 out.writeObject($param_String_1);
469 out.writeObject($param_Object_2);
470 } catch (java.io.IOException e)
471 {
472 throw new java.rmi.MarshalException(
473 "error marshalling arguments", e);
474 }
475 ref.invoke(call);
476 ref.done(call);
477 }
478 } catch (java.lang.RuntimeException e)
479 {
480 throw e;
481 } catch (java.rmi.RemoteException e)
482 {
483 throw e;
484 } catch (javax.naming.NamingException e)
485 {
486 throw e;
487 } catch (java.lang.Exception e)
488 {
489 throw new java.rmi.UnexpectedException(
490 "undeclared checked exception", e);
491 }
492 }
493
494
495 public void bind(javax.naming.Name $param_Name_1,
496 java.lang.Object $param_Object_2) throws java.rmi.RemoteException,
497 javax.naming.NamingException
498 {
499 try
500 {
501 if (useNewInvoke)
502 {
503 ref.invoke(this, $method_bind_4, new java.lang.Object[]{
504 $param_Name_1, $param_Object_2}, 4746601859634963434L);
505 } else
506 {
507 java.rmi.server.RemoteCall call = ref.newCall(
508 (java.rmi.server.RemoteObject) this, operations, 4,
509 interfaceHash);
510 try
511 {
512 java.io.ObjectOutput out = call.getOutputStream();
513 out.writeObject($param_Name_1);
514 out.writeObject($param_Object_2);
515 } catch (java.io.IOException e)
516 {
517 throw new java.rmi.MarshalException(
518 "error marshalling arguments", e);
519 }
520 ref.invoke(call);
521 ref.done(call);
522 }
523 } catch (java.lang.RuntimeException e)
524 {
525 throw e;
526 } catch (java.rmi.RemoteException e)
527 {
528 throw e;
529 } catch (javax.naming.NamingException e)
530 {
531 throw e;
532 } catch (java.lang.Exception e)
533 {
534 throw new java.rmi.UnexpectedException(
535 "undeclared checked exception", e);
536 }
537 }
538
539
540 public void close() throws java.rmi.RemoteException,
541 javax.naming.NamingException
542 {
543 try
544 {
545 if (useNewInvoke)
546 {
547 ref.invoke(this, $method_close_5, null, -4742752445160157748L);
548 } else
549 {
550 java.rmi.server.RemoteCall call = ref.newCall(
551 (java.rmi.server.RemoteObject) this, operations, 5,
552 interfaceHash);
553 ref.invoke(call);
554 ref.done(call);
555 }
556 } catch (java.lang.RuntimeException e)
557 {
558 throw e;
559 } catch (java.rmi.RemoteException e)
560 {
561 throw e;
562 } catch (javax.naming.NamingException e)
563 {
564 throw e;
565 } catch (java.lang.Exception e)
566 {
567 throw new java.rmi.UnexpectedException(
568 "undeclared checked exception", e);
569 }
570 }
571
572
573 public java.lang.String composeName(java.lang.String $param_String_1,
574 java.lang.String $param_String_2) throws java.rmi.RemoteException,
575 javax.naming.NamingException
576 {
577 try
578 {
579 if (useNewInvoke)
580 {
581 Object $result = ref
582 .invoke(this, $method_composeName_6,
583 new java.lang.Object[]{$param_String_1,
584 $param_String_2}, -397955118207351708L);
585 return ((java.lang.String) $result);
586 } else
587 {
588 java.rmi.server.RemoteCall call = ref.newCall(
589 (java.rmi.server.RemoteObject) this, operations, 6,
590 interfaceHash);
591 try
592 {
593 java.io.ObjectOutput out = call.getOutputStream();
594 out.writeObject($param_String_1);
595 out.writeObject($param_String_2);
596 } catch (java.io.IOException e)
597 {
598 throw new java.rmi.MarshalException(
599 "error marshalling arguments", e);
600 }
601 ref.invoke(call);
602 java.lang.String $result;
603 try
604 {
605 java.io.ObjectInput in = call.getInputStream();
606 $result = (java.lang.String) in.readObject();
607 } catch (java.io.IOException e)
608 {
609 throw new java.rmi.UnmarshalException(
610 "error unmarshalling return", e);
611 } catch (java.lang.ClassNotFoundException e)
612 {
613 throw new java.rmi.UnmarshalException(
614 "error unmarshalling return", e);
615 } finally
616 {
617 ref.done(call);
618 }
619 return $result;
620 }
621 } catch (java.lang.RuntimeException e)
622 {
623 throw e;
624 } catch (java.rmi.RemoteException e)
625 {
626 throw e;
627 } catch (javax.naming.NamingException e)
628 {
629 throw e;
630 } catch (java.lang.Exception e)
631 {
632 throw new java.rmi.UnexpectedException(
633 "undeclared checked exception", e);
634 }
635 }
636
637
638 public javax.naming.Name composeName(javax.naming.Name $param_Name_1,
639 javax.naming.Name $param_Name_2) throws java.rmi.RemoteException,
640 javax.naming.NamingException
641 {
642 try
643 {
644 if (useNewInvoke)
645 {
646 Object $result = ref.invoke(this, $method_composeName_7,
647 new java.lang.Object[]{$param_Name_1, $param_Name_2},
648 -4674196241299859862L);
649 return ((javax.naming.Name) $result);
650 } else
651 {
652 java.rmi.server.RemoteCall call = ref.newCall(
653 (java.rmi.server.RemoteObject) this, operations, 7,
654 interfaceHash);
655 try
656 {
657 java.io.ObjectOutput out = call.getOutputStream();
658 out.writeObject($param_Name_1);
659 out.writeObject($param_Name_2);
660 } catch (java.io.IOException e)
661 {
662 throw new java.rmi.MarshalException(
663 "error marshalling arguments", e);
664 }
665 ref.invoke(call);
666 javax.naming.Name $result;
667 try
668 {
669 java.io.ObjectInput in = call.getInputStream();
670 $result = (javax.naming.Name) in.readObject();
671 } catch (java.io.IOException e)
672 {
673 throw new java.rmi.UnmarshalException(
674 "error unmarshalling return", e);
675 } catch (java.lang.ClassNotFoundException e)
676 {
677 throw new java.rmi.UnmarshalException(
678 "error unmarshalling return", e);
679 } finally
680 {
681 ref.done(call);
682 }
683 return $result;
684 }
685 } catch (java.lang.RuntimeException e)
686 {
687 throw e;
688 } catch (java.rmi.RemoteException e)
689 {
690 throw e;
691 } catch (javax.naming.NamingException e)
692 {
693 throw e;
694 } catch (java.lang.Exception e)
695 {
696 throw new java.rmi.UnexpectedException(
697 "undeclared checked exception", e);
698 }
699 }
700
701
702 public nl.tudelft.simulation.naming.RemoteContextInterface createSubcontext(
703 java.lang.String $param_String_1) throws java.rmi.RemoteException,
704 javax.naming.NamingException
705 {
706 try
707 {
708 if (useNewInvoke)
709 {
710 Object $result = ref.invoke(this, $method_createSubcontext_8,
711 new java.lang.Object[]{$param_String_1},
712 -6717789437514911157L);
713 return ((nl.tudelft.simulation.naming.RemoteContextInterface) $result);
714 } else
715 {
716 java.rmi.server.RemoteCall call = ref.newCall(
717 (java.rmi.server.RemoteObject) this, operations, 8,
718 interfaceHash);
719 try
720 {
721 java.io.ObjectOutput out = call.getOutputStream();
722 out.writeObject($param_String_1);
723 } catch (java.io.IOException e)
724 {
725 throw new java.rmi.MarshalException(
726 "error marshalling arguments", e);
727 }
728 ref.invoke(call);
729 nl.tudelft.simulation.naming.RemoteContextInterface $result;
730 try
731 {
732 java.io.ObjectInput in = call.getInputStream();
733 $result = (nl.tudelft.simulation.naming.RemoteContextInterface) in
734 .readObject();
735 } catch (java.io.IOException e)
736 {
737 throw new java.rmi.UnmarshalException(
738 "error unmarshalling return", e);
739 } catch (java.lang.ClassNotFoundException e)
740 {
741 throw new java.rmi.UnmarshalException(
742 "error unmarshalling return", e);
743 } finally
744 {
745 ref.done(call);
746 }
747 return $result;
748 }
749 } catch (java.lang.RuntimeException e)
750 {
751 throw e;
752 } catch (java.rmi.RemoteException e)
753 {
754 throw e;
755 } catch (javax.naming.NamingException e)
756 {
757 throw e;
758 } catch (java.lang.Exception e)
759 {
760 throw new java.rmi.UnexpectedException(
761 "undeclared checked exception", e);
762 }
763 }
764
765
766 public nl.tudelft.simulation.naming.RemoteContextInterface createSubcontext(
767 javax.naming.Name $param_Name_1) throws java.rmi.RemoteException,
768 javax.naming.NamingException
769 {
770 try
771 {
772 if (useNewInvoke)
773 {
774 Object $result = ref.invoke(this, $method_createSubcontext_9,
775 new java.lang.Object[]{$param_Name_1},
776 -5163627906617366579L);
777 return ((nl.tudelft.simulation.naming.RemoteContextInterface) $result);
778 } else
779 {
780 java.rmi.server.RemoteCall call = ref.newCall(
781 (java.rmi.server.RemoteObject) this, operations, 9,
782 interfaceHash);
783 try
784 {
785 java.io.ObjectOutput out = call.getOutputStream();
786 out.writeObject($param_Name_1);
787 } catch (java.io.IOException e)
788 {
789 throw new java.rmi.MarshalException(
790 "error marshalling arguments", e);
791 }
792 ref.invoke(call);
793 nl.tudelft.simulation.naming.RemoteContextInterface $result;
794 try
795 {
796 java.io.ObjectInput in = call.getInputStream();
797 $result = (nl.tudelft.simulation.naming.RemoteContextInterface) in
798 .readObject();
799 } catch (java.io.IOException e)
800 {
801 throw new java.rmi.UnmarshalException(
802 "error unmarshalling return", e);
803 } catch (java.lang.ClassNotFoundException e)
804 {
805 throw new java.rmi.UnmarshalException(
806 "error unmarshalling return", e);
807 } finally
808 {
809 ref.done(call);
810 }
811 return $result;
812 }
813 } catch (java.lang.RuntimeException e)
814 {
815 throw e;
816 } catch (java.rmi.RemoteException e)
817 {
818 throw e;
819 } catch (javax.naming.NamingException e)
820 {
821 throw e;
822 } catch (java.lang.Exception e)
823 {
824 throw new java.rmi.UnexpectedException(
825 "undeclared checked exception", e);
826 }
827 }
828
829
830 public void destroySubcontext(java.lang.String $param_String_1)
831 throws java.rmi.RemoteException, javax.naming.NamingException
832 {
833 try
834 {
835 if (useNewInvoke)
836 {
837 ref.invoke(this, $method_destroySubcontext_10,
838 new java.lang.Object[]{$param_String_1},
839 -5484013438598057362L);
840 } else
841 {
842 java.rmi.server.RemoteCall call = ref.newCall(
843 (java.rmi.server.RemoteObject) this, operations, 10,
844 interfaceHash);
845 try
846 {
847 java.io.ObjectOutput out = call.getOutputStream();
848 out.writeObject($param_String_1);
849 } catch (java.io.IOException e)
850 {
851 throw new java.rmi.MarshalException(
852 "error marshalling arguments", e);
853 }
854 ref.invoke(call);
855 ref.done(call);
856 }
857 } catch (java.lang.RuntimeException e)
858 {
859 throw e;
860 } catch (java.rmi.RemoteException e)
861 {
862 throw e;
863 } catch (javax.naming.NamingException e)
864 {
865 throw e;
866 } catch (java.lang.Exception e)
867 {
868 throw new java.rmi.UnexpectedException(
869 "undeclared checked exception", e);
870 }
871 }
872
873
874 public void destroySubcontext(javax.naming.Name $param_Name_1)
875 throws java.rmi.RemoteException, javax.naming.NamingException
876 {
877 try
878 {
879 if (useNewInvoke)
880 {
881 ref.invoke(this, $method_destroySubcontext_11,
882 new java.lang.Object[]{$param_Name_1},
883 1989154285507206592L);
884 } else
885 {
886 java.rmi.server.RemoteCall call = ref.newCall(
887 (java.rmi.server.RemoteObject) this, operations, 11,
888 interfaceHash);
889 try
890 {
891 java.io.ObjectOutput out = call.getOutputStream();
892 out.writeObject($param_Name_1);
893 } catch (java.io.IOException e)
894 {
895 throw new java.rmi.MarshalException(
896 "error marshalling arguments", e);
897 }
898 ref.invoke(call);
899 ref.done(call);
900 }
901 } catch (java.lang.RuntimeException e)
902 {
903 throw e;
904 } catch (java.rmi.RemoteException e)
905 {
906 throw e;
907 } catch (javax.naming.NamingException e)
908 {
909 throw e;
910 } catch (java.lang.Exception e)
911 {
912 throw new java.rmi.UnexpectedException(
913 "undeclared checked exception", e);
914 }
915 }
916
917
918 public java.util.Hashtable getEnvironment()
919 throws java.rmi.RemoteException, javax.naming.NamingException
920 {
921 try
922 {
923 if (useNewInvoke)
924 {
925 Object $result = ref.invoke(this, $method_getEnvironment_12,
926 null, 6831211682874889519L);
927 return ((java.util.Hashtable) $result);
928 } else
929 {
930 java.rmi.server.RemoteCall call = ref.newCall(
931 (java.rmi.server.RemoteObject) this, operations, 12,
932 interfaceHash);
933 ref.invoke(call);
934 java.util.Hashtable $result;
935 try
936 {
937 java.io.ObjectInput in = call.getInputStream();
938 $result = (java.util.Hashtable) in.readObject();
939 } catch (java.io.IOException e)
940 {
941 throw new java.rmi.UnmarshalException(
942 "error unmarshalling return", e);
943 } catch (java.lang.ClassNotFoundException e)
944 {
945 throw new java.rmi.UnmarshalException(
946 "error unmarshalling return", e);
947 } finally
948 {
949 ref.done(call);
950 }
951 return $result;
952 }
953 } catch (java.lang.RuntimeException e)
954 {
955 throw e;
956 } catch (java.rmi.RemoteException e)
957 {
958 throw e;
959 } catch (javax.naming.NamingException e)
960 {
961 throw e;
962 } catch (java.lang.Exception e)
963 {
964 throw new java.rmi.UnexpectedException(
965 "undeclared checked exception", e);
966 }
967 }
968
969
970 public java.lang.String getNameInNamespace()
971 throws java.rmi.RemoteException, javax.naming.NamingException
972 {
973 try
974 {
975 if (useNewInvoke)
976 {
977 Object $result = ref.invoke(this,
978 $method_getNameInNamespace_13, null,
979 -1194853037862003409L);
980 return ((java.lang.String) $result);
981 } else
982 {
983 java.rmi.server.RemoteCall call = ref.newCall(
984 (java.rmi.server.RemoteObject) this, operations, 13,
985 interfaceHash);
986 ref.invoke(call);
987 java.lang.String $result;
988 try
989 {
990 java.io.ObjectInput in = call.getInputStream();
991 $result = (java.lang.String) in.readObject();
992 } catch (java.io.IOException e)
993 {
994 throw new java.rmi.UnmarshalException(
995 "error unmarshalling return", e);
996 } catch (java.lang.ClassNotFoundException e)
997 {
998 throw new java.rmi.UnmarshalException(
999 "error unmarshalling return", e);
1000 } finally
1001 {
1002 ref.done(call);
1003 }
1004 return $result;
1005 }
1006 } catch (java.lang.RuntimeException e)
1007 {
1008 throw e;
1009 } catch (java.rmi.RemoteException e)
1010 {
1011 throw e;
1012 } catch (javax.naming.NamingException e)
1013 {
1014 throw e;
1015 } catch (java.lang.Exception e)
1016 {
1017 throw new java.rmi.UnexpectedException(
1018 "undeclared checked exception", e);
1019 }
1020 }
1021
1022
1023 public javax.naming.NameParser getNameParser(
1024 java.lang.String $param_String_1) throws java.rmi.RemoteException,
1025 javax.naming.NamingException
1026 {
1027 try
1028 {
1029 if (useNewInvoke)
1030 {
1031 Object $result = ref.invoke(this, $method_getNameParser_14,
1032 new java.lang.Object[]{$param_String_1},
1033 5710977930164118855L);
1034 return ((javax.naming.NameParser) $result);
1035 } else
1036 {
1037 java.rmi.server.RemoteCall call = ref.newCall(
1038 (java.rmi.server.RemoteObject) this, operations, 14,
1039 interfaceHash);
1040 try
1041 {
1042 java.io.ObjectOutput out = call.getOutputStream();
1043 out.writeObject($param_String_1);
1044 } catch (java.io.IOException e)
1045 {
1046 throw new java.rmi.MarshalException(
1047 "error marshalling arguments", e);
1048 }
1049 ref.invoke(call);
1050 javax.naming.NameParser $result;
1051 try
1052 {
1053 java.io.ObjectInput in = call.getInputStream();
1054 $result = (javax.naming.NameParser) in.readObject();
1055 } catch (java.io.IOException e)
1056 {
1057 throw new java.rmi.UnmarshalException(
1058 "error unmarshalling return", e);
1059 } catch (java.lang.ClassNotFoundException e)
1060 {
1061 throw new java.rmi.UnmarshalException(
1062 "error unmarshalling return", e);
1063 } finally
1064 {
1065 ref.done(call);
1066 }
1067 return $result;
1068 }
1069 } catch (java.lang.RuntimeException e)
1070 {
1071 throw e;
1072 } catch (java.rmi.RemoteException e)
1073 {
1074 throw e;
1075 } catch (javax.naming.NamingException e)
1076 {
1077 throw e;
1078 } catch (java.lang.Exception e)
1079 {
1080 throw new java.rmi.UnexpectedException(
1081 "undeclared checked exception", e);
1082 }
1083 }
1084
1085
1086 public javax.naming.NameParser getNameParser(javax.naming.Name $param_Name_1)
1087 throws java.rmi.RemoteException, javax.naming.NamingException
1088 {
1089 try
1090 {
1091 if (useNewInvoke)
1092 {
1093 Object $result = ref.invoke(this, $method_getNameParser_15,
1094 new java.lang.Object[]{$param_Name_1},
1095 -8896846450780974690L);
1096 return ((javax.naming.NameParser) $result);
1097 } else
1098 {
1099 java.rmi.server.RemoteCall call = ref.newCall(
1100 (java.rmi.server.RemoteObject) this, operations, 15,
1101 interfaceHash);
1102 try
1103 {
1104 java.io.ObjectOutput out = call.getOutputStream();
1105 out.writeObject($param_Name_1);
1106 } catch (java.io.IOException e)
1107 {
1108 throw new java.rmi.MarshalException(
1109 "error marshalling arguments", e);
1110 }
1111 ref.invoke(call);
1112 javax.naming.NameParser $result;
1113 try
1114 {
1115 java.io.ObjectInput in = call.getInputStream();
1116 $result = (javax.naming.NameParser) in.readObject();
1117 } catch (java.io.IOException e)
1118 {
1119 throw new java.rmi.UnmarshalException(
1120 "error unmarshalling return", e);
1121 } catch (java.lang.ClassNotFoundException e)
1122 {
1123 throw new java.rmi.UnmarshalException(
1124 "error unmarshalling return", e);
1125 } finally
1126 {
1127 ref.done(call);
1128 }
1129 return $result;
1130 }
1131 } catch (java.lang.RuntimeException e)
1132 {
1133 throw e;
1134 } catch (java.rmi.RemoteException e)
1135 {
1136 throw e;
1137 } catch (javax.naming.NamingException e)
1138 {
1139 throw e;
1140 } catch (java.lang.Exception e)
1141 {
1142 throw new java.rmi.UnexpectedException(
1143 "undeclared checked exception", e);
1144 }
1145 }
1146
1147
1148 public javax.naming.NamingEnumeration list(java.lang.String $param_String_1)
1149 throws java.rmi.RemoteException, javax.naming.NamingException
1150 {
1151 try
1152 {
1153 if (useNewInvoke)
1154 {
1155 Object $result = ref.invoke(this, $method_list_16,
1156 new java.lang.Object[]{$param_String_1},
1157 7650658781653938493L);
1158 return ((javax.naming.NamingEnumeration) $result);
1159 } else
1160 {
1161 java.rmi.server.RemoteCall call = ref.newCall(
1162 (java.rmi.server.RemoteObject) this, operations, 16,
1163 interfaceHash);
1164 try
1165 {
1166 java.io.ObjectOutput out = call.getOutputStream();
1167 out.writeObject($param_String_1);
1168 } catch (java.io.IOException e)
1169 {
1170 throw new java.rmi.MarshalException(
1171 "error marshalling arguments", e);
1172 }
1173 ref.invoke(call);
1174 javax.naming.NamingEnumeration $result;
1175 try
1176 {
1177 java.io.ObjectInput in = call.getInputStream();
1178 $result = (javax.naming.NamingEnumeration) in.readObject();
1179 } catch (java.io.IOException e)
1180 {
1181 throw new java.rmi.UnmarshalException(
1182 "error unmarshalling return", e);
1183 } catch (java.lang.ClassNotFoundException e)
1184 {
1185 throw new java.rmi.UnmarshalException(
1186 "error unmarshalling return", e);
1187 } finally
1188 {
1189 ref.done(call);
1190 }
1191 return $result;
1192 }
1193 } catch (java.lang.RuntimeException e)
1194 {
1195 throw e;
1196 } catch (java.rmi.RemoteException e)
1197 {
1198 throw e;
1199 } catch (javax.naming.NamingException e)
1200 {
1201 throw e;
1202 } catch (java.lang.Exception e)
1203 {
1204 throw new java.rmi.UnexpectedException(
1205 "undeclared checked exception", e);
1206 }
1207 }
1208
1209
1210 public javax.naming.NamingEnumeration list(javax.naming.Name $param_Name_1)
1211 throws java.rmi.RemoteException, javax.naming.NamingException
1212 {
1213 try
1214 {
1215 if (useNewInvoke)
1216 {
1217 Object $result = ref.invoke(this, $method_list_17,
1218 new java.lang.Object[]{$param_Name_1},
1219 1967945493319070025L);
1220 return ((javax.naming.NamingEnumeration) $result);
1221 } else
1222 {
1223 java.rmi.server.RemoteCall call = ref.newCall(
1224 (java.rmi.server.RemoteObject) this, operations, 17,
1225 interfaceHash);
1226 try
1227 {
1228 java.io.ObjectOutput out = call.getOutputStream();
1229 out.writeObject($param_Name_1);
1230 } catch (java.io.IOException e)
1231 {
1232 throw new java.rmi.MarshalException(
1233 "error marshalling arguments", e);
1234 }
1235 ref.invoke(call);
1236 javax.naming.NamingEnumeration $result;
1237 try
1238 {
1239 java.io.ObjectInput in = call.getInputStream();
1240 $result = (javax.naming.NamingEnumeration) in.readObject();
1241 } catch (java.io.IOException e)
1242 {
1243 throw new java.rmi.UnmarshalException(
1244 "error unmarshalling return", e);
1245 } catch (java.lang.ClassNotFoundException e)
1246 {
1247 throw new java.rmi.UnmarshalException(
1248 "error unmarshalling return", e);
1249 } finally
1250 {
1251 ref.done(call);
1252 }
1253 return $result;
1254 }
1255 } catch (java.lang.RuntimeException e)
1256 {
1257 throw e;
1258 } catch (java.rmi.RemoteException e)
1259 {
1260 throw e;
1261 } catch (javax.naming.NamingException e)
1262 {
1263 throw e;
1264 } catch (java.lang.Exception e)
1265 {
1266 throw new java.rmi.UnexpectedException(
1267 "undeclared checked exception", e);
1268 }
1269 }
1270
1271
1272 public javax.naming.NamingEnumeration listBindings(
1273 java.lang.String $param_String_1) throws java.rmi.RemoteException,
1274 javax.naming.NamingException
1275 {
1276 try
1277 {
1278 if (useNewInvoke)
1279 {
1280 Object $result = ref.invoke(this, $method_listBindings_18,
1281 new java.lang.Object[]{$param_String_1},
1282 6904926823795646738L);
1283 return ((javax.naming.NamingEnumeration) $result);
1284 } else
1285 {
1286 java.rmi.server.RemoteCall call = ref.newCall(
1287 (java.rmi.server.RemoteObject) this, operations, 18,
1288 interfaceHash);
1289 try
1290 {
1291 java.io.ObjectOutput out = call.getOutputStream();
1292 out.writeObject($param_String_1);
1293 } catch (java.io.IOException e)
1294 {
1295 throw new java.rmi.MarshalException(
1296 "error marshalling arguments", e);
1297 }
1298 ref.invoke(call);
1299 javax.naming.NamingEnumeration $result;
1300 try
1301 {
1302 java.io.ObjectInput in = call.getInputStream();
1303 $result = (javax.naming.NamingEnumeration) in.readObject();
1304 } catch (java.io.IOException e)
1305 {
1306 throw new java.rmi.UnmarshalException(
1307 "error unmarshalling return", e);
1308 } catch (java.lang.ClassNotFoundException e)
1309 {
1310 throw new java.rmi.UnmarshalException(
1311 "error unmarshalling return", e);
1312 } finally
1313 {
1314 ref.done(call);
1315 }
1316 return $result;
1317 }
1318 } catch (java.lang.RuntimeException e)
1319 {
1320 throw e;
1321 } catch (java.rmi.RemoteException e)
1322 {
1323 throw e;
1324 } catch (javax.naming.NamingException e)
1325 {
1326 throw e;
1327 } catch (java.lang.Exception e)
1328 {
1329 throw new java.rmi.UnexpectedException(
1330 "undeclared checked exception", e);
1331 }
1332 }
1333
1334
1335 public javax.naming.NamingEnumeration listBindings(
1336 javax.naming.Name $param_Name_1) throws java.rmi.RemoteException,
1337 javax.naming.NamingException
1338 {
1339 try
1340 {
1341 if (useNewInvoke)
1342 {
1343 Object $result = ref.invoke(this, $method_listBindings_19,
1344 new java.lang.Object[]{$param_Name_1},
1345 378518927385056723L);
1346 return ((javax.naming.NamingEnumeration) $result);
1347 } else
1348 {
1349 java.rmi.server.RemoteCall call = ref.newCall(
1350 (java.rmi.server.RemoteObject) this, operations, 19,
1351 interfaceHash);
1352 try
1353 {
1354 java.io.ObjectOutput out = call.getOutputStream();
1355 out.writeObject($param_Name_1);
1356 } catch (java.io.IOException e)
1357 {
1358 throw new java.rmi.MarshalException(
1359 "error marshalling arguments", e);
1360 }
1361 ref.invoke(call);
1362 javax.naming.NamingEnumeration $result;
1363 try
1364 {
1365 java.io.ObjectInput in = call.getInputStream();
1366 $result = (javax.naming.NamingEnumeration) in.readObject();
1367 } catch (java.io.IOException e)
1368 {
1369 throw new java.rmi.UnmarshalException(
1370 "error unmarshalling return", e);
1371 } catch (java.lang.ClassNotFoundException e)
1372 {
1373 throw new java.rmi.UnmarshalException(
1374 "error unmarshalling return", e);
1375 } finally
1376 {
1377 ref.done(call);
1378 }
1379 return $result;
1380 }
1381 } catch (java.lang.RuntimeException e)
1382 {
1383 throw e;
1384 } catch (java.rmi.RemoteException e)
1385 {
1386 throw e;
1387 } catch (javax.naming.NamingException e)
1388 {
1389 throw e;
1390 } catch (java.lang.Exception e)
1391 {
1392 throw new java.rmi.UnexpectedException(
1393 "undeclared checked exception", e);
1394 }
1395 }
1396
1397
1398 public java.lang.Object lookup(java.lang.String $param_String_1)
1399 throws java.rmi.RemoteException, javax.naming.NamingException
1400 {
1401 try
1402 {
1403 if (useNewInvoke)
1404 {
1405 Object $result = ref.invoke(this, $method_lookup_20,
1406 new java.lang.Object[]{$param_String_1},
1407 -1898805598492908578L);
1408 return ((java.lang.Object) $result);
1409 } else
1410 {
1411 java.rmi.server.RemoteCall call = ref.newCall(
1412 (java.rmi.server.RemoteObject) this, operations, 20,
1413 interfaceHash);
1414 try
1415 {
1416 java.io.ObjectOutput out = call.getOutputStream();
1417 out.writeObject($param_String_1);
1418 } catch (java.io.IOException e)
1419 {
1420 throw new java.rmi.MarshalException(
1421 "error marshalling arguments", e);
1422 }
1423 ref.invoke(call);
1424 java.lang.Object $result;
1425 try
1426 {
1427 java.io.ObjectInput in = call.getInputStream();
1428 $result = (java.lang.Object) in.readObject();
1429 } catch (java.io.IOException e)
1430 {
1431 throw new java.rmi.UnmarshalException(
1432 "error unmarshalling return", e);
1433 } catch (java.lang.ClassNotFoundException e)
1434 {
1435 throw new java.rmi.UnmarshalException(
1436 "error unmarshalling return", e);
1437 } finally
1438 {
1439 ref.done(call);
1440 }
1441 return $result;
1442 }
1443 } catch (java.lang.RuntimeException e)
1444 {
1445 throw e;
1446 } catch (java.rmi.RemoteException e)
1447 {
1448 throw e;
1449 } catch (javax.naming.NamingException e)
1450 {
1451 throw e;
1452 } catch (java.lang.Exception e)
1453 {
1454 throw new java.rmi.UnexpectedException(
1455 "undeclared checked exception", e);
1456 }
1457 }
1458
1459
1460 public java.lang.Object lookup(javax.naming.Name $param_Name_1)
1461 throws java.rmi.RemoteException, javax.naming.NamingException
1462 {
1463 try
1464 {
1465 if (useNewInvoke)
1466 {
1467 Object $result = ref.invoke(this, $method_lookup_21,
1468 new java.lang.Object[]{$param_Name_1},
1469 -790108502850547550L);
1470 return ((java.lang.Object) $result);
1471 } else
1472 {
1473 java.rmi.server.RemoteCall call = ref.newCall(
1474 (java.rmi.server.RemoteObject) this, operations, 21,
1475 interfaceHash);
1476 try
1477 {
1478 java.io.ObjectOutput out = call.getOutputStream();
1479 out.writeObject($param_Name_1);
1480 } catch (java.io.IOException e)
1481 {
1482 throw new java.rmi.MarshalException(
1483 "error marshalling arguments", e);
1484 }
1485 ref.invoke(call);
1486 java.lang.Object $result;
1487 try
1488 {
1489 java.io.ObjectInput in = call.getInputStream();
1490 $result = (java.lang.Object) in.readObject();
1491 } catch (java.io.IOException e)
1492 {
1493 throw new java.rmi.UnmarshalException(
1494 "error unmarshalling return", e);
1495 } catch (java.lang.ClassNotFoundException e)
1496 {
1497 throw new java.rmi.UnmarshalException(
1498 "error unmarshalling return", e);
1499 } finally
1500 {
1501 ref.done(call);
1502 }
1503 return $result;
1504 }
1505 } catch (java.lang.RuntimeException e)
1506 {
1507 throw e;
1508 } catch (java.rmi.RemoteException e)
1509 {
1510 throw e;
1511 } catch (javax.naming.NamingException e)
1512 {
1513 throw e;
1514 } catch (java.lang.Exception e)
1515 {
1516 throw new java.rmi.UnexpectedException(
1517 "undeclared checked exception", e);
1518 }
1519 }
1520
1521
1522 public java.lang.Object lookupLink(java.lang.String $param_String_1)
1523 throws java.rmi.RemoteException, javax.naming.NamingException
1524 {
1525 try
1526 {
1527 if (useNewInvoke)
1528 {
1529 Object $result = ref.invoke(this, $method_lookupLink_22,
1530 new java.lang.Object[]{$param_String_1},
1531 -7059825740248303745L);
1532 return ((java.lang.Object) $result);
1533 } else
1534 {
1535 java.rmi.server.RemoteCall call = ref.newCall(
1536 (java.rmi.server.RemoteObject) this, operations, 22,
1537 interfaceHash);
1538 try
1539 {
1540 java.io.ObjectOutput out = call.getOutputStream();
1541 out.writeObject($param_String_1);
1542 } catch (java.io.IOException e)
1543 {
1544 throw new java.rmi.MarshalException(
1545 "error marshalling arguments", e);
1546 }
1547 ref.invoke(call);
1548 java.lang.Object $result;
1549 try
1550 {
1551 java.io.ObjectInput in = call.getInputStream();
1552 $result = (java.lang.Object) in.readObject();
1553 } catch (java.io.IOException e)
1554 {
1555 throw new java.rmi.UnmarshalException(
1556 "error unmarshalling return", e);
1557 } catch (java.lang.ClassNotFoundException e)
1558 {
1559 throw new java.rmi.UnmarshalException(
1560 "error unmarshalling return", e);
1561 } finally
1562 {
1563 ref.done(call);
1564 }
1565 return $result;
1566 }
1567 } catch (java.lang.RuntimeException e)
1568 {
1569 throw e;
1570 } catch (java.rmi.RemoteException e)
1571 {
1572 throw e;
1573 } catch (javax.naming.NamingException e)
1574 {
1575 throw e;
1576 } catch (java.lang.Exception e)
1577 {
1578 throw new java.rmi.UnexpectedException(
1579 "undeclared checked exception", e);
1580 }
1581 }
1582
1583
1584 public java.lang.Object lookupLink(javax.naming.Name $param_Name_1)
1585 throws java.rmi.RemoteException, javax.naming.NamingException
1586 {
1587 try
1588 {
1589 if (useNewInvoke)
1590 {
1591 Object $result = ref.invoke(this, $method_lookupLink_23,
1592 new java.lang.Object[]{$param_Name_1},
1593 -8326898712775774153L);
1594 return ((java.lang.Object) $result);
1595 } else
1596 {
1597 java.rmi.server.RemoteCall call = ref.newCall(
1598 (java.rmi.server.RemoteObject) this, operations, 23,
1599 interfaceHash);
1600 try
1601 {
1602 java.io.ObjectOutput out = call.getOutputStream();
1603 out.writeObject($param_Name_1);
1604 } catch (java.io.IOException e)
1605 {
1606 throw new java.rmi.MarshalException(
1607 "error marshalling arguments", e);
1608 }
1609 ref.invoke(call);
1610 java.lang.Object $result;
1611 try
1612 {
1613 java.io.ObjectInput in = call.getInputStream();
1614 $result = (java.lang.Object) in.readObject();
1615 } catch (java.io.IOException e)
1616 {
1617 throw new java.rmi.UnmarshalException(
1618 "error unmarshalling return", e);
1619 } catch (java.lang.ClassNotFoundException e)
1620 {
1621 throw new java.rmi.UnmarshalException(
1622 "error unmarshalling return", e);
1623 } finally
1624 {
1625 ref.done(call);
1626 }
1627 return $result;
1628 }
1629 } catch (java.lang.RuntimeException e)
1630 {
1631 throw e;
1632 } catch (java.rmi.RemoteException e)
1633 {
1634 throw e;
1635 } catch (javax.naming.NamingException e)
1636 {
1637 throw e;
1638 } catch (java.lang.Exception e)
1639 {
1640 throw new java.rmi.UnexpectedException(
1641 "undeclared checked exception", e);
1642 }
1643 }
1644
1645
1646 public void rebind(java.lang.String $param_String_1,
1647 java.lang.Object $param_Object_2) throws java.rmi.RemoteException,
1648 javax.naming.NamingException
1649 {
1650 try
1651 {
1652 if (useNewInvoke)
1653 {
1654 ref
1655 .invoke(this, $method_rebind_24,
1656 new java.lang.Object[]{$param_String_1,
1657 $param_Object_2}, -129221743250872862L);
1658 } else
1659 {
1660 java.rmi.server.RemoteCall call = ref.newCall(
1661 (java.rmi.server.RemoteObject) this, operations, 24,
1662 interfaceHash);
1663 try
1664 {
1665 java.io.ObjectOutput out = call.getOutputStream();
1666 out.writeObject($param_String_1);
1667 out.writeObject($param_Object_2);
1668 } catch (java.io.IOException e)
1669 {
1670 throw new java.rmi.MarshalException(
1671 "error marshalling arguments", e);
1672 }
1673 ref.invoke(call);
1674 ref.done(call);
1675 }
1676 } catch (java.lang.RuntimeException e)
1677 {
1678 throw e;
1679 } catch (java.rmi.RemoteException e)
1680 {
1681 throw e;
1682 } catch (javax.naming.NamingException e)
1683 {
1684 throw e;
1685 } catch (java.lang.Exception e)
1686 {
1687 throw new java.rmi.UnexpectedException(
1688 "undeclared checked exception", e);
1689 }
1690 }
1691
1692
1693 public void rebind(javax.naming.Name $param_Name_1,
1694 java.lang.Object $param_Object_2) throws java.rmi.RemoteException,
1695 javax.naming.NamingException
1696 {
1697 try
1698 {
1699 if (useNewInvoke)
1700 {
1701 ref.invoke(this, $method_rebind_25, new java.lang.Object[]{
1702 $param_Name_1, $param_Object_2}, 8031864381464841478L);
1703 } else
1704 {
1705 java.rmi.server.RemoteCall call = ref.newCall(
1706 (java.rmi.server.RemoteObject) this, operations, 25,
1707 interfaceHash);
1708 try
1709 {
1710 java.io.ObjectOutput out = call.getOutputStream();
1711 out.writeObject($param_Name_1);
1712 out.writeObject($param_Object_2);
1713 } catch (java.io.IOException e)
1714 {
1715 throw new java.rmi.MarshalException(
1716 "error marshalling arguments", e);
1717 }
1718 ref.invoke(call);
1719 ref.done(call);
1720 }
1721 } catch (java.lang.RuntimeException e)
1722 {
1723 throw e;
1724 } catch (java.rmi.RemoteException e)
1725 {
1726 throw e;
1727 } catch (javax.naming.NamingException e)
1728 {
1729 throw e;
1730 } catch (java.lang.Exception e)
1731 {
1732 throw new java.rmi.UnexpectedException(
1733 "undeclared checked exception", e);
1734 }
1735 }
1736
1737
1738 public java.lang.Object removeFromEnvironment(
1739 java.lang.String $param_String_1) throws java.rmi.RemoteException,
1740 javax.naming.NamingException
1741 {
1742 try
1743 {
1744 if (useNewInvoke)
1745 {
1746 Object $result = ref.invoke(this,
1747 $method_removeFromEnvironment_26,
1748 new java.lang.Object[]{$param_String_1},
1749 -7172282782142951249L);
1750 return ((java.lang.Object) $result);
1751 } else
1752 {
1753 java.rmi.server.RemoteCall call = ref.newCall(
1754 (java.rmi.server.RemoteObject) this, operations, 26,
1755 interfaceHash);
1756 try
1757 {
1758 java.io.ObjectOutput out = call.getOutputStream();
1759 out.writeObject($param_String_1);
1760 } catch (java.io.IOException e)
1761 {
1762 throw new java.rmi.MarshalException(
1763 "error marshalling arguments", e);
1764 }
1765 ref.invoke(call);
1766 java.lang.Object $result;
1767 try
1768 {
1769 java.io.ObjectInput in = call.getInputStream();
1770 $result = (java.lang.Object) in.readObject();
1771 } catch (java.io.IOException e)
1772 {
1773 throw new java.rmi.UnmarshalException(
1774 "error unmarshalling return", e);
1775 } catch (java.lang.ClassNotFoundException e)
1776 {
1777 throw new java.rmi.UnmarshalException(
1778 "error unmarshalling return", e);
1779 } finally
1780 {
1781 ref.done(call);
1782 }
1783 return $result;
1784 }
1785 } catch (java.lang.RuntimeException e)
1786 {
1787 throw e;
1788 } catch (java.rmi.RemoteException e)
1789 {
1790 throw e;
1791 } catch (javax.naming.NamingException e)
1792 {
1793 throw e;
1794 } catch (java.lang.Exception e)
1795 {
1796 throw new java.rmi.UnexpectedException(
1797 "undeclared checked exception", e);
1798 }
1799 }
1800
1801
1802 public void removeNamingListener(
1803 nl.tudelft.simulation.naming.listener.RemoteContextListenerInterface $param_RemoteContextListenerInterface_1)
1804 throws java.rmi.RemoteException, javax.naming.NamingException
1805 {
1806 try
1807 {
1808 if (useNewInvoke)
1809 {
1810 ref
1811 .invoke(
1812 this,
1813 $method_removeNamingListener_27,
1814 new java.lang.Object[]{$param_RemoteContextListenerInterface_1},
1815 9164040526369065167L);
1816 } else
1817 {
1818 java.rmi.server.RemoteCall call = ref.newCall(
1819 (java.rmi.server.RemoteObject) this, operations, 27,
1820 interfaceHash);
1821 try
1822 {
1823 java.io.ObjectOutput out = call.getOutputStream();
1824 out.writeObject($param_RemoteContextListenerInterface_1);
1825 } catch (java.io.IOException e)
1826 {
1827 throw new java.rmi.MarshalException(
1828 "error marshalling arguments", e);
1829 }
1830 ref.invoke(call);
1831 ref.done(call);
1832 }
1833 } catch (java.lang.RuntimeException e)
1834 {
1835 throw e;
1836 } catch (java.rmi.RemoteException e)
1837 {
1838 throw e;
1839 } catch (javax.naming.NamingException e)
1840 {
1841 throw e;
1842 } catch (java.lang.Exception e)
1843 {
1844 throw new java.rmi.UnexpectedException(
1845 "undeclared checked exception", e);
1846 }
1847 }
1848
1849
1850 public void rename(java.lang.String $param_String_1,
1851 java.lang.String $param_String_2) throws java.rmi.RemoteException,
1852 javax.naming.NamingException
1853 {
1854 try
1855 {
1856 if (useNewInvoke)
1857 {
1858 ref
1859 .invoke(this, $method_rename_28,
1860 new java.lang.Object[]{$param_String_1,
1861 $param_String_2}, 2349483723651990964L);
1862 } else
1863 {
1864 java.rmi.server.RemoteCall call = ref.newCall(
1865 (java.rmi.server.RemoteObject) this, operations, 28,
1866 interfaceHash);
1867 try
1868 {
1869 java.io.ObjectOutput out = call.getOutputStream();
1870 out.writeObject($param_String_1);
1871 out.writeObject($param_String_2);
1872 } catch (java.io.IOException e)
1873 {
1874 throw new java.rmi.MarshalException(
1875 "error marshalling arguments", e);
1876 }
1877 ref.invoke(call);
1878 ref.done(call);
1879 }
1880 } catch (java.lang.RuntimeException e)
1881 {
1882 throw e;
1883 } catch (java.rmi.RemoteException e)
1884 {
1885 throw e;
1886 } catch (javax.naming.NamingException e)
1887 {
1888 throw e;
1889 } catch (java.lang.Exception e)
1890 {
1891 throw new java.rmi.UnexpectedException(
1892 "undeclared checked exception", e);
1893 }
1894 }
1895
1896
1897 public void rename(javax.naming.Name $param_Name_1,
1898 javax.naming.Name $param_Name_2) throws java.rmi.RemoteException,
1899 javax.naming.NamingException
1900 {
1901 try
1902 {
1903 if (useNewInvoke)
1904 {
1905 ref.invoke(this, $method_rename_29, new java.lang.Object[]{
1906 $param_Name_1, $param_Name_2}, -1948007926874613057L);
1907 } else
1908 {
1909 java.rmi.server.RemoteCall call = ref.newCall(
1910 (java.rmi.server.RemoteObject) this, operations, 29,
1911 interfaceHash);
1912 try
1913 {
1914 java.io.ObjectOutput out = call.getOutputStream();
1915 out.writeObject($param_Name_1);
1916 out.writeObject($param_Name_2);
1917 } catch (java.io.IOException e)
1918 {
1919 throw new java.rmi.MarshalException(
1920 "error marshalling arguments", e);
1921 }
1922 ref.invoke(call);
1923 ref.done(call);
1924 }
1925 } catch (java.lang.RuntimeException e)
1926 {
1927 throw e;
1928 } catch (java.rmi.RemoteException e)
1929 {
1930 throw e;
1931 } catch (javax.naming.NamingException e)
1932 {
1933 throw e;
1934 } catch (java.lang.Exception e)
1935 {
1936 throw new java.rmi.UnexpectedException(
1937 "undeclared checked exception", e);
1938 }
1939 }
1940
1941
1942 public boolean targetMustExist() throws java.rmi.RemoteException,
1943 javax.naming.NamingException
1944 {
1945 try
1946 {
1947 if (useNewInvoke)
1948 {
1949 Object $result = ref.invoke(this, $method_targetMustExist_30,
1950 null, -2766650220085268527L);
1951 return ((java.lang.Boolean) $result).booleanValue();
1952 } else
1953 {
1954 java.rmi.server.RemoteCall call = ref.newCall(
1955 (java.rmi.server.RemoteObject) this, operations, 30,
1956 interfaceHash);
1957 ref.invoke(call);
1958 boolean $result;
1959 try
1960 {
1961 java.io.ObjectInput in = call.getInputStream();
1962 $result = in.readBoolean();
1963 } catch (java.io.IOException e)
1964 {
1965 throw new java.rmi.UnmarshalException(
1966 "error unmarshalling return", e);
1967 } finally
1968 {
1969 ref.done(call);
1970 }
1971 return $result;
1972 }
1973 } catch (java.lang.RuntimeException e)
1974 {
1975 throw e;
1976 } catch (java.rmi.RemoteException e)
1977 {
1978 throw e;
1979 } catch (javax.naming.NamingException e)
1980 {
1981 throw e;
1982 } catch (java.lang.Exception e)
1983 {
1984 throw new java.rmi.UnexpectedException(
1985 "undeclared checked exception", e);
1986 }
1987 }
1988
1989
1990 public void unbind(java.lang.String $param_String_1)
1991 throws java.rmi.RemoteException, javax.naming.NamingException
1992 {
1993 try
1994 {
1995 if (useNewInvoke)
1996 {
1997 ref.invoke(this, $method_unbind_31,
1998 new java.lang.Object[]{$param_String_1},
1999 7305022919901907578L);
2000 } else
2001 {
2002 java.rmi.server.RemoteCall call = ref.newCall(
2003 (java.rmi.server.RemoteObject) this, operations, 31,
2004 interfaceHash);
2005 try
2006 {
2007 java.io.ObjectOutput out = call.getOutputStream();
2008 out.writeObject($param_String_1);
2009 } catch (java.io.IOException e)
2010 {
2011 throw new java.rmi.MarshalException(
2012 "error marshalling arguments", e);
2013 }
2014 ref.invoke(call);
2015 ref.done(call);
2016 }
2017 } catch (java.lang.RuntimeException e)
2018 {
2019 throw e;
2020 } catch (java.rmi.RemoteException e)
2021 {
2022 throw e;
2023 } catch (javax.naming.NamingException e)
2024 {
2025 throw e;
2026 } catch (java.lang.Exception e)
2027 {
2028 throw new java.rmi.UnexpectedException(
2029 "undeclared checked exception", e);
2030 }
2031 }
2032
2033
2034 public void unbind(javax.naming.Name $param_Name_1)
2035 throws java.rmi.RemoteException, javax.naming.NamingException
2036 {
2037 try
2038 {
2039 if (useNewInvoke)
2040 {
2041 ref.invoke(this, $method_unbind_32,
2042 new java.lang.Object[]{$param_Name_1},
2043 8176650517119097487L);
2044 } else
2045 {
2046 java.rmi.server.RemoteCall call = ref.newCall(
2047 (java.rmi.server.RemoteObject) this, operations, 32,
2048 interfaceHash);
2049 try
2050 {
2051 java.io.ObjectOutput out = call.getOutputStream();
2052 out.writeObject($param_Name_1);
2053 } catch (java.io.IOException e)
2054 {
2055 throw new java.rmi.MarshalException(
2056 "error marshalling arguments", e);
2057 }
2058 ref.invoke(call);
2059 ref.done(call);
2060 }
2061 } catch (java.lang.RuntimeException e)
2062 {
2063 throw e;
2064 } catch (java.rmi.RemoteException e)
2065 {
2066 throw e;
2067 } catch (javax.naming.NamingException e)
2068 {
2069 throw e;
2070 } catch (java.lang.Exception e)
2071 {
2072 throw new java.rmi.UnexpectedException(
2073 "undeclared checked exception", e);
2074 }
2075 }
2076 }