1 4 package hero.interfaces; 5 6 public final class JOnASBnProjectInterHook555855533Remote_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnProjectInterHook, java.rmi.Remote , javax.ejb.EJBObject 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("hero.interfaces.BnProjectLocal getBnProject()"), 12 new java.rmi.server.Operation ("hero.interfaces.BnProjectInterHookValue getBnProjectInterHookValue()"), 13 new java.rmi.server.Operation ("javax.ejb.EJBHome getEJBHome()"), 14 new java.rmi.server.Operation ("java.lang.String getEvent()"), 15 new java.rmi.server.Operation ("javax.ejb.Handle getHandle()"), 16 new java.rmi.server.Operation ("java.lang.String getName()"), 17 new java.rmi.server.Operation ("java.lang.Object getPrimaryKey()"), 18 new java.rmi.server.Operation ("java.lang.String getScript()"), 19 new java.rmi.server.Operation ("int getType()"), 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 setBnProjectInterHookValue(hero.interfaces.BnProjectInterHookValue)"), 23 new java.rmi.server.Operation ("void setEvent(java.lang.String)"), 24 new java.rmi.server.Operation ("void setName(java.lang.String)"), 25 new java.rmi.server.Operation ("void setScript(java.lang.String)"), 26 new java.rmi.server.Operation ("void setType(int)") 27 }; 28 29 private static final long interfaceHash = -9072348923996110030L; 30 31 private static final long serialVersionUID = 2; 32 33 private static boolean useNewInvoke; 34 private static java.lang.reflect.Method $method_getBnProject_0; 35 private static java.lang.reflect.Method $method_getBnProjectInterHookValue_1; 36 private static java.lang.reflect.Method $method_getEJBHome_2; 37 private static java.lang.reflect.Method $method_getEvent_3; 38 private static java.lang.reflect.Method $method_getHandle_4; 39 private static java.lang.reflect.Method $method_getName_5; 40 private static java.lang.reflect.Method $method_getPrimaryKey_6; 41 private static java.lang.reflect.Method $method_getScript_7; 42 private static java.lang.reflect.Method $method_getType_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_setBnProjectInterHookValue_11; 46 private static java.lang.reflect.Method $method_setEvent_12; 47 private static java.lang.reflect.Method $method_setName_13; 48 private static java.lang.reflect.Method $method_setScript_14; 49 private static java.lang.reflect.Method $method_setType_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_getBnProject_0 = hero.interfaces.BnProjectInterHook.class.getMethod("getBnProject", new java.lang.Class [] {}); 62 $method_getBnProjectInterHookValue_1 = hero.interfaces.BnProjectInterHook.class.getMethod("getBnProjectInterHookValue", new java.lang.Class [] {}); 63 $method_getEJBHome_2 = javax.ejb.EJBObject .class.getMethod("getEJBHome", new java.lang.Class [] {}); 64 $method_getEvent_3 = hero.interfaces.BnProjectInterHook.class.getMethod("getEvent", new java.lang.Class [] {}); 65 $method_getHandle_4 = javax.ejb.EJBObject .class.getMethod("getHandle", new java.lang.Class [] {}); 66 $method_getName_5 = hero.interfaces.BnProjectInterHook.class.getMethod("getName", new java.lang.Class [] {}); 67 $method_getPrimaryKey_6 = javax.ejb.EJBObject .class.getMethod("getPrimaryKey", new java.lang.Class [] {}); 68 $method_getScript_7 = hero.interfaces.BnProjectInterHook.class.getMethod("getScript", new java.lang.Class [] {}); 69 $method_getType_8 = hero.interfaces.BnProjectInterHook.class.getMethod("getType", 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_setBnProjectInterHookValue_11 = hero.interfaces.BnProjectInterHook.class.getMethod("setBnProjectInterHookValue", new java.lang.Class [] {hero.interfaces.BnProjectInterHookValue.class}); 73 $method_setEvent_12 = hero.interfaces.BnProjectInterHook.class.getMethod("setEvent", new java.lang.Class [] {java.lang.String .class}); 74 $method_setName_13 = hero.interfaces.BnProjectInterHook.class.getMethod("setName", new java.lang.Class [] {java.lang.String .class}); 75 $method_setScript_14 = hero.interfaces.BnProjectInterHook.class.getMethod("setScript", new java.lang.Class [] {java.lang.String .class}); 76 $method_setType_15 = hero.interfaces.BnProjectInterHook.class.getMethod("setType", new java.lang.Class [] {int.class}); 77 } catch (java.lang.NoSuchMethodException e) { 78 useNewInvoke = false; 79 } 80 } 81 82 public JOnASBnProjectInterHook555855533Remote_Stub() { 84 super(); 85 } 86 public JOnASBnProjectInterHook555855533Remote_Stub(java.rmi.server.RemoteRef ref) { 87 super(ref); 88 } 89 90 92 public hero.interfaces.BnProjectLocal getBnProject() 94 throws java.rmi.RemoteException 95 { 96 try { 97 if (useNewInvoke) { 98 Object $result = ref.invoke(this, $method_getBnProject_0, null, 523733266555080879L); 99 return ((hero.interfaces.BnProjectLocal) $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.BnProjectLocal $result; 104 try { 105 java.io.ObjectInput in = call.getInputStream(); 106 $result = (hero.interfaces.BnProjectLocal) 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.BnProjectInterHookValue getBnProjectInterHookValue() 127 throws java.rmi.RemoteException 128 { 129 try { 130 if (useNewInvoke) { 131 Object $result = ref.invoke(this, $method_getBnProjectInterHookValue_1, null, -9130736697131765481L); 132 return ((hero.interfaces.BnProjectInterHookValue) $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.BnProjectInterHookValue $result; 137 try { 138 java.io.ObjectInput in = call.getInputStream(); 139 $result = (hero.interfaces.BnProjectInterHookValue) 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 java.lang.String getEvent() 193 throws java.rmi.RemoteException 194 { 195 try { 196 if (useNewInvoke) { 197 Object $result = ref.invoke(this, $method_getEvent_3, null, -704000150236942726L); 198 return ((java.lang.String ) $result); 199 } else { 200 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 201 ref.invoke(call); 202 java.lang.String $result; 203 try { 204 java.io.ObjectInput in = call.getInputStream(); 205 $result = (java.lang.String ) 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 javax.ejb.Handle getHandle() 226 throws java.rmi.RemoteException 227 { 228 try { 229 if (useNewInvoke) { 230 Object $result = ref.invoke(this, $method_getHandle_4, null, -1299374689989208114L); 231 return ((javax.ejb.Handle ) $result); 232 } else { 233 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 234 ref.invoke(call); 235 javax.ejb.Handle $result; 236 try { 237 java.io.ObjectInput in = call.getInputStream(); 238 $result = (javax.ejb.Handle ) 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.String getName() 259 throws java.rmi.RemoteException 260 { 261 try { 262 if (useNewInvoke) { 263 Object $result = ref.invoke(this, $method_getName_5, null, 6317137956467216454L); 264 return ((java.lang.String ) $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.String $result; 269 try { 270 java.io.ObjectInput in = call.getInputStream(); 271 $result = (java.lang.String ) 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 java.lang.Object getPrimaryKey() 292 throws java.rmi.RemoteException 293 { 294 try { 295 if (useNewInvoke) { 296 Object $result = ref.invoke(this, $method_getPrimaryKey_6, null, 4840115071604865751L); 297 return ((java.lang.Object ) $result); 298 } else { 299 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 300 ref.invoke(call); 301 java.lang.Object $result; 302 try { 303 java.io.ObjectInput in = call.getInputStream(); 304 $result = (java.lang.Object ) in.readObject(); 305 } catch (java.io.IOException e) { 306 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 307 } catch (java.lang.ClassNotFoundException e) { 308 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 309 } finally { 310 ref.done(call); 311 } 312 return $result; 313 } 314 } catch (java.lang.RuntimeException e) { 315 throw e; 316 } catch (java.rmi.RemoteException e) { 317 throw e; 318 } catch (java.lang.Exception e) { 319 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 320 } 321 } 322 323 public java.lang.String getScript() 325 throws java.rmi.RemoteException 326 { 327 try { 328 if (useNewInvoke) { 329 Object $result = ref.invoke(this, $method_getScript_7, null, -7098543439533334819L); 330 return ((java.lang.String ) $result); 331 } else { 332 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 333 ref.invoke(call); 334 java.lang.String $result; 335 try { 336 java.io.ObjectInput in = call.getInputStream(); 337 $result = (java.lang.String ) in.readObject(); 338 } catch (java.io.IOException e) { 339 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 340 } catch (java.lang.ClassNotFoundException e) { 341 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 342 } finally { 343 ref.done(call); 344 } 345 return $result; 346 } 347 } catch (java.lang.RuntimeException e) { 348 throw e; 349 } catch (java.rmi.RemoteException e) { 350 throw e; 351 } catch (java.lang.Exception e) { 352 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 353 } 354 } 355 356 public int getType() 358 throws java.rmi.RemoteException 359 { 360 try { 361 if (useNewInvoke) { 362 Object $result = ref.invoke(this, $method_getType_8, null, -7030183335631564859L); 363 return ((java.lang.Integer ) $result).intValue(); 364 } else { 365 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 8, interfaceHash); 366 ref.invoke(call); 367 int $result; 368 try { 369 java.io.ObjectInput in = call.getInputStream(); 370 $result = in.readInt(); 371 } catch (java.io.IOException 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 setBnProjectInterHookValue(hero.interfaces.BnProjectInterHookValue $param_BnProjectInterHookValue_1) 449 throws java.rmi.RemoteException 450 { 451 try { 452 if (useNewInvoke) { 453 ref.invoke(this, $method_setBnProjectInterHookValue_11, new java.lang.Object [] {$param_BnProjectInterHookValue_1}, -6234030174023936261L); 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_BnProjectInterHookValue_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 setEvent(java.lang.String $param_String_1) 476 throws java.rmi.RemoteException 477 { 478 try { 479 if (useNewInvoke) { 480 ref.invoke(this, $method_setEvent_12, new java.lang.Object [] {$param_String_1}, 8999900824288770706L); 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_String_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 setName(java.lang.String $param_String_1) 503 throws java.rmi.RemoteException 504 { 505 try { 506 if (useNewInvoke) { 507 ref.invoke(this, $method_setName_13, new java.lang.Object [] {$param_String_1}, 1344297395548290975L); 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.writeObject($param_String_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 setScript(java.lang.String $param_String_1) 530 throws java.rmi.RemoteException 531 { 532 try { 533 if (useNewInvoke) { 534 ref.invoke(this, $method_setScript_14, new java.lang.Object [] {$param_String_1}, -5878512215092245314L); 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 setType(int $param_int_1) 557 throws java.rmi.RemoteException 558 { 559 try { 560 if (useNewInvoke) { 561 ref.invoke(this, $method_setType_15, new java.lang.Object [] {new java.lang.Integer ($param_int_1)}, -7949851783537712531L); 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.writeInt($param_int_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 |