1 4 package hero.interfaces; 5 6 public final class JOnASBnNodeProperty2125088013Remote_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnNodeProperty, java.rmi.Remote , javax.ejb.EJBObject 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("hero.interfaces.BnNodeLocal getBnNode()"), 12 new java.rmi.server.Operation ("hero.interfaces.BnNodePropertyValue getBnNodePropertyValue()"), 13 new java.rmi.server.Operation ("javax.ejb.EJBHome getEJBHome()"), 14 new java.rmi.server.Operation ("javax.ejb.Handle getHandle()"), 15 new java.rmi.server.Operation ("java.util.Collection getPossibleValues()"), 16 new java.rmi.server.Operation ("java.lang.Object getPrimaryKey()"), 17 new java.rmi.server.Operation ("boolean getPropagate()"), 18 new java.rmi.server.Operation ("java.lang.String getTheKey()"), 19 new java.rmi.server.Operation ("java.lang.String getTheValue()"), 20 new java.rmi.server.Operation ("boolean isIdentical(javax.ejb.EJBObject)"), 21 new java.rmi.server.Operation ("void remove()"), 22 new java.rmi.server.Operation ("void setBnNodePropertyValue(hero.interfaces.BnNodePropertyValue)"), 23 new java.rmi.server.Operation ("void setPossibleValues(java.util.Collection)"), 24 new java.rmi.server.Operation ("void setPropagate(boolean)"), 25 new java.rmi.server.Operation ("void setTheKey(java.lang.String)"), 26 new java.rmi.server.Operation ("void setTheValue(java.lang.String)") 27 }; 28 29 private static final long interfaceHash = -6509479000865803870L; 30 31 private static final long serialVersionUID = 2; 32 33 private static boolean useNewInvoke; 34 private static java.lang.reflect.Method $method_getBnNode_0; 35 private static java.lang.reflect.Method $method_getBnNodePropertyValue_1; 36 private static java.lang.reflect.Method $method_getEJBHome_2; 37 private static java.lang.reflect.Method $method_getHandle_3; 38 private static java.lang.reflect.Method $method_getPossibleValues_4; 39 private static java.lang.reflect.Method $method_getPrimaryKey_5; 40 private static java.lang.reflect.Method $method_getPropagate_6; 41 private static java.lang.reflect.Method $method_getTheKey_7; 42 private static java.lang.reflect.Method $method_getTheValue_8; 43 private static java.lang.reflect.Method $method_isIdentical_9; 44 private static java.lang.reflect.Method $method_remove_10; 45 private static java.lang.reflect.Method $method_setBnNodePropertyValue_11; 46 private static java.lang.reflect.Method $method_setPossibleValues_12; 47 private static java.lang.reflect.Method $method_setPropagate_13; 48 private static java.lang.reflect.Method $method_setTheKey_14; 49 private static java.lang.reflect.Method $method_setTheValue_15; 50 51 static { 52 try { 53 java.rmi.server.RemoteRef .class.getMethod("invoke", 54 new java.lang.Class [] { 55 java.rmi.Remote .class, 56 java.lang.reflect.Method .class, 57 java.lang.Object [].class, 58 long.class 59 }); 60 useNewInvoke = true; 61 $method_getBnNode_0 = hero.interfaces.BnNodeProperty.class.getMethod("getBnNode", new java.lang.Class [] {}); 62 $method_getBnNodePropertyValue_1 = hero.interfaces.BnNodeProperty.class.getMethod("getBnNodePropertyValue", new java.lang.Class [] {}); 63 $method_getEJBHome_2 = javax.ejb.EJBObject .class.getMethod("getEJBHome", new java.lang.Class [] {}); 64 $method_getHandle_3 = javax.ejb.EJBObject .class.getMethod("getHandle", new java.lang.Class [] {}); 65 $method_getPossibleValues_4 = hero.interfaces.BnNodeProperty.class.getMethod("getPossibleValues", new java.lang.Class [] {}); 66 $method_getPrimaryKey_5 = javax.ejb.EJBObject .class.getMethod("getPrimaryKey", new java.lang.Class [] {}); 67 $method_getPropagate_6 = hero.interfaces.BnNodeProperty.class.getMethod("getPropagate", new java.lang.Class [] {}); 68 $method_getTheKey_7 = hero.interfaces.BnNodeProperty.class.getMethod("getTheKey", new java.lang.Class [] {}); 69 $method_getTheValue_8 = hero.interfaces.BnNodeProperty.class.getMethod("getTheValue", new java.lang.Class [] {}); 70 $method_isIdentical_9 = javax.ejb.EJBObject .class.getMethod("isIdentical", new java.lang.Class [] {javax.ejb.EJBObject .class}); 71 $method_remove_10 = javax.ejb.EJBObject .class.getMethod("remove", new java.lang.Class [] {}); 72 $method_setBnNodePropertyValue_11 = hero.interfaces.BnNodeProperty.class.getMethod("setBnNodePropertyValue", new java.lang.Class [] {hero.interfaces.BnNodePropertyValue.class}); 73 $method_setPossibleValues_12 = hero.interfaces.BnNodeProperty.class.getMethod("setPossibleValues", new java.lang.Class [] {java.util.Collection .class}); 74 $method_setPropagate_13 = hero.interfaces.BnNodeProperty.class.getMethod("setPropagate", new java.lang.Class [] {boolean.class}); 75 $method_setTheKey_14 = hero.interfaces.BnNodeProperty.class.getMethod("setTheKey", new java.lang.Class [] {java.lang.String .class}); 76 $method_setTheValue_15 = hero.interfaces.BnNodeProperty.class.getMethod("setTheValue", new java.lang.Class [] {java.lang.String .class}); 77 } catch (java.lang.NoSuchMethodException e) { 78 useNewInvoke = false; 79 } 80 } 81 82 public JOnASBnNodeProperty2125088013Remote_Stub() { 84 super(); 85 } 86 public JOnASBnNodeProperty2125088013Remote_Stub(java.rmi.server.RemoteRef ref) { 87 super(ref); 88 } 89 90 92 public hero.interfaces.BnNodeLocal getBnNode() 94 throws java.rmi.RemoteException 95 { 96 try { 97 if (useNewInvoke) { 98 Object $result = ref.invoke(this, $method_getBnNode_0, null, 1784247966531412160L); 99 return ((hero.interfaces.BnNodeLocal) $result); 100 } else { 101 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 102 ref.invoke(call); 103 hero.interfaces.BnNodeLocal $result; 104 try { 105 java.io.ObjectInput in = call.getInputStream(); 106 $result = (hero.interfaces.BnNodeLocal) in.readObject(); 107 } catch (java.io.IOException e) { 108 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 109 } catch (java.lang.ClassNotFoundException e) { 110 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 111 } finally { 112 ref.done(call); 113 } 114 return $result; 115 } 116 } catch (java.lang.RuntimeException e) { 117 throw e; 118 } catch (java.rmi.RemoteException e) { 119 throw e; 120 } catch (java.lang.Exception e) { 121 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 122 } 123 } 124 125 public hero.interfaces.BnNodePropertyValue getBnNodePropertyValue() 127 throws java.rmi.RemoteException 128 { 129 try { 130 if (useNewInvoke) { 131 Object $result = ref.invoke(this, $method_getBnNodePropertyValue_1, null, 3593504370318291750L); 132 return ((hero.interfaces.BnNodePropertyValue) $result); 133 } else { 134 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 1, interfaceHash); 135 ref.invoke(call); 136 hero.interfaces.BnNodePropertyValue $result; 137 try { 138 java.io.ObjectInput in = call.getInputStream(); 139 $result = (hero.interfaces.BnNodePropertyValue) in.readObject(); 140 } catch (java.io.IOException e) { 141 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 142 } catch (java.lang.ClassNotFoundException e) { 143 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 144 } finally { 145 ref.done(call); 146 } 147 return $result; 148 } 149 } catch (java.lang.RuntimeException e) { 150 throw e; 151 } catch (java.rmi.RemoteException e) { 152 throw e; 153 } catch (java.lang.Exception e) { 154 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 155 } 156 } 157 158 public javax.ejb.EJBHome getEJBHome() 160 throws java.rmi.RemoteException 161 { 162 try { 163 if (useNewInvoke) { 164 Object $result = ref.invoke(this, $method_getEJBHome_2, null, 3163754803894080547L); 165 return ((javax.ejb.EJBHome ) $result); 166 } else { 167 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 168 ref.invoke(call); 169 javax.ejb.EJBHome $result; 170 try { 171 java.io.ObjectInput in = call.getInputStream(); 172 $result = (javax.ejb.EJBHome ) in.readObject(); 173 } catch (java.io.IOException e) { 174 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 175 } catch (java.lang.ClassNotFoundException e) { 176 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 177 } finally { 178 ref.done(call); 179 } 180 return $result; 181 } 182 } catch (java.lang.RuntimeException e) { 183 throw e; 184 } catch (java.rmi.RemoteException e) { 185 throw e; 186 } catch (java.lang.Exception e) { 187 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 188 } 189 } 190 191 public javax.ejb.Handle getHandle() 193 throws java.rmi.RemoteException 194 { 195 try { 196 if (useNewInvoke) { 197 Object $result = ref.invoke(this, $method_getHandle_3, null, -1299374689989208114L); 198 return ((javax.ejb.Handle ) $result); 199 } else { 200 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 201 ref.invoke(call); 202 javax.ejb.Handle $result; 203 try { 204 java.io.ObjectInput in = call.getInputStream(); 205 $result = (javax.ejb.Handle ) in.readObject(); 206 } catch (java.io.IOException e) { 207 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 208 } catch (java.lang.ClassNotFoundException e) { 209 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 210 } finally { 211 ref.done(call); 212 } 213 return $result; 214 } 215 } catch (java.lang.RuntimeException e) { 216 throw e; 217 } catch (java.rmi.RemoteException e) { 218 throw e; 219 } catch (java.lang.Exception e) { 220 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 221 } 222 } 223 224 public java.util.Collection getPossibleValues() 226 throws java.rmi.RemoteException 227 { 228 try { 229 if (useNewInvoke) { 230 Object $result = ref.invoke(this, $method_getPossibleValues_4, null, -2500728374570432785L); 231 return ((java.util.Collection ) $result); 232 } else { 233 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 234 ref.invoke(call); 235 java.util.Collection $result; 236 try { 237 java.io.ObjectInput in = call.getInputStream(); 238 $result = (java.util.Collection ) in.readObject(); 239 } catch (java.io.IOException e) { 240 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 241 } catch (java.lang.ClassNotFoundException e) { 242 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 243 } finally { 244 ref.done(call); 245 } 246 return $result; 247 } 248 } catch (java.lang.RuntimeException e) { 249 throw e; 250 } catch (java.rmi.RemoteException e) { 251 throw e; 252 } catch (java.lang.Exception e) { 253 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 254 } 255 } 256 257 public java.lang.Object getPrimaryKey() 259 throws java.rmi.RemoteException 260 { 261 try { 262 if (useNewInvoke) { 263 Object $result = ref.invoke(this, $method_getPrimaryKey_5, null, 4840115071604865751L); 264 return ((java.lang.Object ) $result); 265 } else { 266 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 267 ref.invoke(call); 268 java.lang.Object $result; 269 try { 270 java.io.ObjectInput in = call.getInputStream(); 271 $result = (java.lang.Object ) in.readObject(); 272 } catch (java.io.IOException e) { 273 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 274 } catch (java.lang.ClassNotFoundException e) { 275 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 276 } finally { 277 ref.done(call); 278 } 279 return $result; 280 } 281 } catch (java.lang.RuntimeException e) { 282 throw e; 283 } catch (java.rmi.RemoteException e) { 284 throw e; 285 } catch (java.lang.Exception e) { 286 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 287 } 288 } 289 290 public boolean getPropagate() 292 throws java.rmi.RemoteException 293 { 294 try { 295 if (useNewInvoke) { 296 Object $result = ref.invoke(this, $method_getPropagate_6, null, 9019302249493897260L); 297 return ((java.lang.Boolean ) $result).booleanValue(); 298 } else { 299 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 300 ref.invoke(call); 301 boolean $result; 302 try { 303 java.io.ObjectInput in = call.getInputStream(); 304 $result = in.readBoolean(); 305 } catch (java.io.IOException e) { 306 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 307 } finally { 308 ref.done(call); 309 } 310 return $result; 311 } 312 } catch (java.lang.RuntimeException e) { 313 throw e; 314 } catch (java.rmi.RemoteException e) { 315 throw e; 316 } catch (java.lang.Exception e) { 317 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 318 } 319 } 320 321 public java.lang.String getTheKey() 323 throws java.rmi.RemoteException 324 { 325 try { 326 if (useNewInvoke) { 327 Object $result = ref.invoke(this, $method_getTheKey_7, null, -4415983027654962903L); 328 return ((java.lang.String ) $result); 329 } else { 330 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 331 ref.invoke(call); 332 java.lang.String $result; 333 try { 334 java.io.ObjectInput in = call.getInputStream(); 335 $result = (java.lang.String ) in.readObject(); 336 } catch (java.io.IOException e) { 337 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 338 } catch (java.lang.ClassNotFoundException e) { 339 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 340 } finally { 341 ref.done(call); 342 } 343 return $result; 344 } 345 } catch (java.lang.RuntimeException e) { 346 throw e; 347 } catch (java.rmi.RemoteException e) { 348 throw e; 349 } catch (java.lang.Exception e) { 350 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 351 } 352 } 353 354 public java.lang.String getTheValue() 356 throws java.rmi.RemoteException 357 { 358 try { 359 if (useNewInvoke) { 360 Object $result = ref.invoke(this, $method_getTheValue_8, null, 1410221645011511387L); 361 return ((java.lang.String ) $result); 362 } else { 363 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 8, interfaceHash); 364 ref.invoke(call); 365 java.lang.String $result; 366 try { 367 java.io.ObjectInput in = call.getInputStream(); 368 $result = (java.lang.String ) in.readObject(); 369 } catch (java.io.IOException e) { 370 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 371 } catch (java.lang.ClassNotFoundException e) { 372 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 373 } finally { 374 ref.done(call); 375 } 376 return $result; 377 } 378 } catch (java.lang.RuntimeException e) { 379 throw e; 380 } catch (java.rmi.RemoteException e) { 381 throw e; 382 } catch (java.lang.Exception e) { 383 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 384 } 385 } 386 387 public boolean isIdentical(javax.ejb.EJBObject $param_EJBObject_1) 389 throws java.rmi.RemoteException 390 { 391 try { 392 if (useNewInvoke) { 393 Object $result = ref.invoke(this, $method_isIdentical_9, new java.lang.Object [] {$param_EJBObject_1}, -5909123752501984271L); 394 return ((java.lang.Boolean ) $result).booleanValue(); 395 } else { 396 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 9, interfaceHash); 397 try { 398 java.io.ObjectOutput out = call.getOutputStream(); 399 out.writeObject($param_EJBObject_1); 400 } catch (java.io.IOException e) { 401 throw new java.rmi.MarshalException ("error marshalling arguments", e); 402 } 403 ref.invoke(call); 404 boolean $result; 405 try { 406 java.io.ObjectInput in = call.getInputStream(); 407 $result = in.readBoolean(); 408 } catch (java.io.IOException e) { 409 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 410 } finally { 411 ref.done(call); 412 } 413 return $result; 414 } 415 } catch (java.lang.RuntimeException e) { 416 throw e; 417 } catch (java.rmi.RemoteException e) { 418 throw e; 419 } catch (java.lang.Exception e) { 420 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 421 } 422 } 423 424 public void remove() 426 throws java.rmi.RemoteException , javax.ejb.RemoveException 427 { 428 try { 429 if (useNewInvoke) { 430 ref.invoke(this, $method_remove_10, null, -5013858639939630501L); 431 } else { 432 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 10, interfaceHash); 433 ref.invoke(call); 434 ref.done(call); 435 } 436 } catch (java.lang.RuntimeException e) { 437 throw e; 438 } catch (java.rmi.RemoteException e) { 439 throw e; 440 } catch (javax.ejb.RemoveException e) { 441 throw e; 442 } catch (java.lang.Exception e) { 443 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 444 } 445 } 446 447 public void setBnNodePropertyValue(hero.interfaces.BnNodePropertyValue $param_BnNodePropertyValue_1) 449 throws java.rmi.RemoteException 450 { 451 try { 452 if (useNewInvoke) { 453 ref.invoke(this, $method_setBnNodePropertyValue_11, new java.lang.Object [] {$param_BnNodePropertyValue_1}, -4167621725623875429L); 454 } else { 455 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 11, interfaceHash); 456 try { 457 java.io.ObjectOutput out = call.getOutputStream(); 458 out.writeObject($param_BnNodePropertyValue_1); 459 } catch (java.io.IOException e) { 460 throw new java.rmi.MarshalException ("error marshalling arguments", e); 461 } 462 ref.invoke(call); 463 ref.done(call); 464 } 465 } catch (java.lang.RuntimeException e) { 466 throw e; 467 } catch (java.rmi.RemoteException e) { 468 throw e; 469 } catch (java.lang.Exception e) { 470 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 471 } 472 } 473 474 public void setPossibleValues(java.util.Collection $param_Collection_1) 476 throws java.rmi.RemoteException 477 { 478 try { 479 if (useNewInvoke) { 480 ref.invoke(this, $method_setPossibleValues_12, new java.lang.Object [] {$param_Collection_1}, -8735191327812383369L); 481 } else { 482 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 12, interfaceHash); 483 try { 484 java.io.ObjectOutput out = call.getOutputStream(); 485 out.writeObject($param_Collection_1); 486 } catch (java.io.IOException e) { 487 throw new java.rmi.MarshalException ("error marshalling arguments", e); 488 } 489 ref.invoke(call); 490 ref.done(call); 491 } 492 } catch (java.lang.RuntimeException e) { 493 throw e; 494 } catch (java.rmi.RemoteException e) { 495 throw e; 496 } catch (java.lang.Exception e) { 497 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 498 } 499 } 500 501 public void setPropagate(boolean $param_boolean_1) 503 throws java.rmi.RemoteException 504 { 505 try { 506 if (useNewInvoke) { 507 ref.invoke(this, $method_setPropagate_13, new java.lang.Object [] {new java.lang.Boolean ($param_boolean_1)}, 598127974014639926L); 508 } else { 509 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 13, interfaceHash); 510 try { 511 java.io.ObjectOutput out = call.getOutputStream(); 512 out.writeBoolean($param_boolean_1); 513 } catch (java.io.IOException e) { 514 throw new java.rmi.MarshalException ("error marshalling arguments", e); 515 } 516 ref.invoke(call); 517 ref.done(call); 518 } 519 } catch (java.lang.RuntimeException e) { 520 throw e; 521 } catch (java.rmi.RemoteException e) { 522 throw e; 523 } catch (java.lang.Exception e) { 524 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 525 } 526 } 527 528 public void setTheKey(java.lang.String $param_String_1) 530 throws java.rmi.RemoteException 531 { 532 try { 533 if (useNewInvoke) { 534 ref.invoke(this, $method_setTheKey_14, new java.lang.Object [] {$param_String_1}, -6910684652834854345L); 535 } else { 536 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 14, interfaceHash); 537 try { 538 java.io.ObjectOutput out = call.getOutputStream(); 539 out.writeObject($param_String_1); 540 } catch (java.io.IOException e) { 541 throw new java.rmi.MarshalException ("error marshalling arguments", e); 542 } 543 ref.invoke(call); 544 ref.done(call); 545 } 546 } catch (java.lang.RuntimeException e) { 547 throw e; 548 } catch (java.rmi.RemoteException e) { 549 throw e; 550 } catch (java.lang.Exception e) { 551 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 552 } 553 } 554 555 public void setTheValue(java.lang.String $param_String_1) 557 throws java.rmi.RemoteException 558 { 559 try { 560 if (useNewInvoke) { 561 ref.invoke(this, $method_setTheValue_15, new java.lang.Object [] {$param_String_1}, -5801307261233548463L); 562 } else { 563 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 15, interfaceHash); 564 try { 565 java.io.ObjectOutput out = call.getOutputStream(); 566 out.writeObject($param_String_1); 567 } catch (java.io.IOException e) { 568 throw new java.rmi.MarshalException ("error marshalling arguments", e); 569 } 570 ref.invoke(call); 571 ref.done(call); 572 } 573 } catch (java.lang.RuntimeException e) { 574 throw e; 575 } catch (java.rmi.RemoteException e) { 576 throw e; 577 } catch (java.lang.Exception e) { 578 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 579 } 580 } 581 } 582 | Popular Tags |