1 4 package hero.interfaces; 5 6 public final class JOnASBnUser2135030925Remote_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnUser, java.rmi.Remote , javax.ejb.EJBObject 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("java.util.Collection getBnProperties()"), 12 new java.rmi.server.Operation ("hero.interfaces.BnUserLightValue getBnUserLightValue()"), 13 new java.rmi.server.Operation ("hero.interfaces.BnUserValue getBnUserValue()"), 14 new java.rmi.server.Operation ("javax.ejb.EJBHome getEJBHome()"), 15 new java.rmi.server.Operation ("java.lang.String getEmail()"), 16 new java.rmi.server.Operation ("javax.ejb.Handle getHandle()"), 17 new java.rmi.server.Operation ("java.lang.String getId()"), 18 new java.rmi.server.Operation ("java.lang.String getJabber()"), 19 new java.rmi.server.Operation ("java.lang.String getName()"), 20 new java.rmi.server.Operation ("java.lang.Object getPrimaryKey()"), 21 new java.rmi.server.Operation ("boolean isIdentical(javax.ejb.EJBObject)"), 22 new java.rmi.server.Operation ("void remove()"), 23 new java.rmi.server.Operation ("void setBnProperties(java.util.Collection)"), 24 new java.rmi.server.Operation ("void setBnUserValue(hero.interfaces.BnUserValue)") 25 }; 26 27 private static final long interfaceHash = 4136761559185041006L; 28 29 private static final long serialVersionUID = 2; 30 31 private static boolean useNewInvoke; 32 private static java.lang.reflect.Method $method_getBnProperties_0; 33 private static java.lang.reflect.Method $method_getBnUserLightValue_1; 34 private static java.lang.reflect.Method $method_getBnUserValue_2; 35 private static java.lang.reflect.Method $method_getEJBHome_3; 36 private static java.lang.reflect.Method $method_getEmail_4; 37 private static java.lang.reflect.Method $method_getHandle_5; 38 private static java.lang.reflect.Method $method_getId_6; 39 private static java.lang.reflect.Method $method_getJabber_7; 40 private static java.lang.reflect.Method $method_getName_8; 41 private static java.lang.reflect.Method $method_getPrimaryKey_9; 42 private static java.lang.reflect.Method $method_isIdentical_10; 43 private static java.lang.reflect.Method $method_remove_11; 44 private static java.lang.reflect.Method $method_setBnProperties_12; 45 private static java.lang.reflect.Method $method_setBnUserValue_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_getBnProperties_0 = hero.interfaces.BnUser.class.getMethod("getBnProperties", new java.lang.Class [] {}); 58 $method_getBnUserLightValue_1 = hero.interfaces.BnUser.class.getMethod("getBnUserLightValue", new java.lang.Class [] {}); 59 $method_getBnUserValue_2 = hero.interfaces.BnUser.class.getMethod("getBnUserValue", new java.lang.Class [] {}); 60 $method_getEJBHome_3 = javax.ejb.EJBObject .class.getMethod("getEJBHome", new java.lang.Class [] {}); 61 $method_getEmail_4 = hero.interfaces.BnUser.class.getMethod("getEmail", new java.lang.Class [] {}); 62 $method_getHandle_5 = javax.ejb.EJBObject .class.getMethod("getHandle", new java.lang.Class [] {}); 63 $method_getId_6 = hero.interfaces.BnUser.class.getMethod("getId", new java.lang.Class [] {}); 64 $method_getJabber_7 = hero.interfaces.BnUser.class.getMethod("getJabber", new java.lang.Class [] {}); 65 $method_getName_8 = hero.interfaces.BnUser.class.getMethod("getName", new java.lang.Class [] {}); 66 $method_getPrimaryKey_9 = javax.ejb.EJBObject .class.getMethod("getPrimaryKey", new java.lang.Class [] {}); 67 $method_isIdentical_10 = javax.ejb.EJBObject .class.getMethod("isIdentical", new java.lang.Class [] {javax.ejb.EJBObject .class}); 68 $method_remove_11 = javax.ejb.EJBObject .class.getMethod("remove", new java.lang.Class [] {}); 69 $method_setBnProperties_12 = hero.interfaces.BnUser.class.getMethod("setBnProperties", new java.lang.Class [] {java.util.Collection .class}); 70 $method_setBnUserValue_13 = hero.interfaces.BnUser.class.getMethod("setBnUserValue", new java.lang.Class [] {hero.interfaces.BnUserValue.class}); 71 } catch (java.lang.NoSuchMethodException e) { 72 useNewInvoke = false; 73 } 74 } 75 76 public JOnASBnUser2135030925Remote_Stub() { 78 super(); 79 } 80 public JOnASBnUser2135030925Remote_Stub(java.rmi.server.RemoteRef ref) { 81 super(ref); 82 } 83 84 86 public java.util.Collection getBnProperties() 88 throws java.rmi.RemoteException 89 { 90 try { 91 if (useNewInvoke) { 92 Object $result = ref.invoke(this, $method_getBnProperties_0, null, 5097523163185589167L); 93 return ((java.util.Collection ) $result); 94 } else { 95 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 96 ref.invoke(call); 97 java.util.Collection $result; 98 try { 99 java.io.ObjectInput in = call.getInputStream(); 100 $result = (java.util.Collection ) in.readObject(); 101 } catch (java.io.IOException e) { 102 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 103 } catch (java.lang.ClassNotFoundException e) { 104 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 105 } finally { 106 ref.done(call); 107 } 108 return $result; 109 } 110 } catch (java.lang.RuntimeException e) { 111 throw e; 112 } catch (java.rmi.RemoteException e) { 113 throw e; 114 } catch (java.lang.Exception e) { 115 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 116 } 117 } 118 119 public hero.interfaces.BnUserLightValue getBnUserLightValue() 121 throws java.rmi.RemoteException 122 { 123 try { 124 if (useNewInvoke) { 125 Object $result = ref.invoke(this, $method_getBnUserLightValue_1, null, -7394889986080404686L); 126 return ((hero.interfaces.BnUserLightValue) $result); 127 } else { 128 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 1, interfaceHash); 129 ref.invoke(call); 130 hero.interfaces.BnUserLightValue $result; 131 try { 132 java.io.ObjectInput in = call.getInputStream(); 133 $result = (hero.interfaces.BnUserLightValue) in.readObject(); 134 } catch (java.io.IOException e) { 135 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 136 } catch (java.lang.ClassNotFoundException e) { 137 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 138 } finally { 139 ref.done(call); 140 } 141 return $result; 142 } 143 } catch (java.lang.RuntimeException e) { 144 throw e; 145 } catch (java.rmi.RemoteException e) { 146 throw e; 147 } catch (java.lang.Exception e) { 148 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 149 } 150 } 151 152 public hero.interfaces.BnUserValue getBnUserValue() 154 throws java.rmi.RemoteException 155 { 156 try { 157 if (useNewInvoke) { 158 Object $result = ref.invoke(this, $method_getBnUserValue_2, null, 8712021554610631566L); 159 return ((hero.interfaces.BnUserValue) $result); 160 } else { 161 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 162 ref.invoke(call); 163 hero.interfaces.BnUserValue $result; 164 try { 165 java.io.ObjectInput in = call.getInputStream(); 166 $result = (hero.interfaces.BnUserValue) in.readObject(); 167 } catch (java.io.IOException e) { 168 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 169 } catch (java.lang.ClassNotFoundException e) { 170 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 171 } finally { 172 ref.done(call); 173 } 174 return $result; 175 } 176 } catch (java.lang.RuntimeException e) { 177 throw e; 178 } catch (java.rmi.RemoteException e) { 179 throw e; 180 } catch (java.lang.Exception e) { 181 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 182 } 183 } 184 185 public javax.ejb.EJBHome getEJBHome() 187 throws java.rmi.RemoteException 188 { 189 try { 190 if (useNewInvoke) { 191 Object $result = ref.invoke(this, $method_getEJBHome_3, null, 3163754803894080547L); 192 return ((javax.ejb.EJBHome ) $result); 193 } else { 194 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 195 ref.invoke(call); 196 javax.ejb.EJBHome $result; 197 try { 198 java.io.ObjectInput in = call.getInputStream(); 199 $result = (javax.ejb.EJBHome ) in.readObject(); 200 } catch (java.io.IOException e) { 201 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 202 } catch (java.lang.ClassNotFoundException e) { 203 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 204 } finally { 205 ref.done(call); 206 } 207 return $result; 208 } 209 } catch (java.lang.RuntimeException e) { 210 throw e; 211 } catch (java.rmi.RemoteException e) { 212 throw e; 213 } catch (java.lang.Exception e) { 214 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 215 } 216 } 217 218 public java.lang.String getEmail() 220 throws java.rmi.RemoteException 221 { 222 try { 223 if (useNewInvoke) { 224 Object $result = ref.invoke(this, $method_getEmail_4, null, 99631339274670319L); 225 return ((java.lang.String ) $result); 226 } else { 227 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 228 ref.invoke(call); 229 java.lang.String $result; 230 try { 231 java.io.ObjectInput in = call.getInputStream(); 232 $result = (java.lang.String ) in.readObject(); 233 } catch (java.io.IOException e) { 234 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 235 } catch (java.lang.ClassNotFoundException e) { 236 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 237 } finally { 238 ref.done(call); 239 } 240 return $result; 241 } 242 } catch (java.lang.RuntimeException e) { 243 throw e; 244 } catch (java.rmi.RemoteException e) { 245 throw e; 246 } catch (java.lang.Exception e) { 247 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 248 } 249 } 250 251 public javax.ejb.Handle getHandle() 253 throws java.rmi.RemoteException 254 { 255 try { 256 if (useNewInvoke) { 257 Object $result = ref.invoke(this, $method_getHandle_5, null, -1299374689989208114L); 258 return ((javax.ejb.Handle ) $result); 259 } else { 260 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 261 ref.invoke(call); 262 javax.ejb.Handle $result; 263 try { 264 java.io.ObjectInput in = call.getInputStream(); 265 $result = (javax.ejb.Handle ) in.readObject(); 266 } catch (java.io.IOException e) { 267 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 268 } catch (java.lang.ClassNotFoundException e) { 269 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 270 } finally { 271 ref.done(call); 272 } 273 return $result; 274 } 275 } catch (java.lang.RuntimeException e) { 276 throw e; 277 } catch (java.rmi.RemoteException e) { 278 throw e; 279 } catch (java.lang.Exception e) { 280 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 281 } 282 } 283 284 public java.lang.String getId() 286 throws java.rmi.RemoteException 287 { 288 try { 289 if (useNewInvoke) { 290 Object $result = ref.invoke(this, $method_getId_6, null, -2624672516422252640L); 291 return ((java.lang.String ) $result); 292 } else { 293 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 294 ref.invoke(call); 295 java.lang.String $result; 296 try { 297 java.io.ObjectInput in = call.getInputStream(); 298 $result = (java.lang.String ) in.readObject(); 299 } catch (java.io.IOException e) { 300 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 301 } catch (java.lang.ClassNotFoundException e) { 302 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 303 } finally { 304 ref.done(call); 305 } 306 return $result; 307 } 308 } catch (java.lang.RuntimeException e) { 309 throw e; 310 } catch (java.rmi.RemoteException e) { 311 throw e; 312 } catch (java.lang.Exception e) { 313 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 314 } 315 } 316 317 public java.lang.String getJabber() 319 throws java.rmi.RemoteException 320 { 321 try { 322 if (useNewInvoke) { 323 Object $result = ref.invoke(this, $method_getJabber_7, null, -4259498811148665334L); 324 return ((java.lang.String ) $result); 325 } else { 326 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 327 ref.invoke(call); 328 java.lang.String $result; 329 try { 330 java.io.ObjectInput in = call.getInputStream(); 331 $result = (java.lang.String ) in.readObject(); 332 } catch (java.io.IOException e) { 333 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 334 } catch (java.lang.ClassNotFoundException e) { 335 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 336 } finally { 337 ref.done(call); 338 } 339 return $result; 340 } 341 } catch (java.lang.RuntimeException e) { 342 throw e; 343 } catch (java.rmi.RemoteException e) { 344 throw e; 345 } catch (java.lang.Exception e) { 346 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 347 } 348 } 349 350 public java.lang.String getName() 352 throws java.rmi.RemoteException 353 { 354 try { 355 if (useNewInvoke) { 356 Object $result = ref.invoke(this, $method_getName_8, null, 6317137956467216454L); 357 return ((java.lang.String ) $result); 358 } else { 359 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 8, interfaceHash); 360 ref.invoke(call); 361 java.lang.String $result; 362 try { 363 java.io.ObjectInput in = call.getInputStream(); 364 $result = (java.lang.String ) in.readObject(); 365 } catch (java.io.IOException e) { 366 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 367 } catch (java.lang.ClassNotFoundException e) { 368 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 369 } finally { 370 ref.done(call); 371 } 372 return $result; 373 } 374 } catch (java.lang.RuntimeException e) { 375 throw e; 376 } catch (java.rmi.RemoteException e) { 377 throw e; 378 } catch (java.lang.Exception e) { 379 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 380 } 381 } 382 383 public java.lang.Object getPrimaryKey() 385 throws java.rmi.RemoteException 386 { 387 try { 388 if (useNewInvoke) { 389 Object $result = ref.invoke(this, $method_getPrimaryKey_9, null, 4840115071604865751L); 390 return ((java.lang.Object ) $result); 391 } else { 392 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 9, interfaceHash); 393 ref.invoke(call); 394 java.lang.Object $result; 395 try { 396 java.io.ObjectInput in = call.getInputStream(); 397 $result = (java.lang.Object ) in.readObject(); 398 } catch (java.io.IOException e) { 399 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 400 } catch (java.lang.ClassNotFoundException e) { 401 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 402 } finally { 403 ref.done(call); 404 } 405 return $result; 406 } 407 } catch (java.lang.RuntimeException e) { 408 throw e; 409 } catch (java.rmi.RemoteException e) { 410 throw e; 411 } catch (java.lang.Exception e) { 412 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 413 } 414 } 415 416 public boolean isIdentical(javax.ejb.EJBObject $param_EJBObject_1) 418 throws java.rmi.RemoteException 419 { 420 try { 421 if (useNewInvoke) { 422 Object $result = ref.invoke(this, $method_isIdentical_10, new java.lang.Object [] {$param_EJBObject_1}, -5909123752501984271L); 423 return ((java.lang.Boolean ) $result).booleanValue(); 424 } else { 425 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 10, interfaceHash); 426 try { 427 java.io.ObjectOutput out = call.getOutputStream(); 428 out.writeObject($param_EJBObject_1); 429 } catch (java.io.IOException e) { 430 throw new java.rmi.MarshalException ("error marshalling arguments", e); 431 } 432 ref.invoke(call); 433 boolean $result; 434 try { 435 java.io.ObjectInput in = call.getInputStream(); 436 $result = in.readBoolean(); 437 } catch (java.io.IOException e) { 438 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 439 } finally { 440 ref.done(call); 441 } 442 return $result; 443 } 444 } catch (java.lang.RuntimeException e) { 445 throw e; 446 } catch (java.rmi.RemoteException e) { 447 throw e; 448 } catch (java.lang.Exception e) { 449 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 450 } 451 } 452 453 public void remove() 455 throws java.rmi.RemoteException , javax.ejb.RemoveException 456 { 457 try { 458 if (useNewInvoke) { 459 ref.invoke(this, $method_remove_11, null, -5013858639939630501L); 460 } else { 461 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 11, interfaceHash); 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 (javax.ejb.RemoveException e) { 470 throw e; 471 } catch (java.lang.Exception e) { 472 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 473 } 474 } 475 476 public void setBnProperties(java.util.Collection $param_Collection_1) 478 throws java.rmi.RemoteException 479 { 480 try { 481 if (useNewInvoke) { 482 ref.invoke(this, $method_setBnProperties_12, new java.lang.Object [] {$param_Collection_1}, -3491011777164769744L); 483 } else { 484 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 12, interfaceHash); 485 try { 486 java.io.ObjectOutput out = call.getOutputStream(); 487 out.writeObject($param_Collection_1); 488 } catch (java.io.IOException e) { 489 throw new java.rmi.MarshalException ("error marshalling arguments", e); 490 } 491 ref.invoke(call); 492 ref.done(call); 493 } 494 } catch (java.lang.RuntimeException e) { 495 throw e; 496 } catch (java.rmi.RemoteException e) { 497 throw e; 498 } catch (java.lang.Exception e) { 499 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 500 } 501 } 502 503 public void setBnUserValue(hero.interfaces.BnUserValue $param_BnUserValue_1) 505 throws java.rmi.RemoteException 506 { 507 try { 508 if (useNewInvoke) { 509 ref.invoke(this, $method_setBnUserValue_13, new java.lang.Object [] {$param_BnUserValue_1}, -5065437998774984178L); 510 } else { 511 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 13, interfaceHash); 512 try { 513 java.io.ObjectOutput out = call.getOutputStream(); 514 out.writeObject($param_BnUserValue_1); 515 } catch (java.io.IOException e) { 516 throw new java.rmi.MarshalException ("error marshalling arguments", e); 517 } 518 ref.invoke(call); 519 ref.done(call); 520 } 521 } catch (java.lang.RuntimeException e) { 522 throw e; 523 } catch (java.rmi.RemoteException e) { 524 throw e; 525 } catch (java.lang.Exception e) { 526 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 527 } 528 } 529 } 530 | Popular Tags |