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