1 4 package hero.interfaces; 5 6 public final class JOnASBnProjectConfig_1564617755Remote_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnProjectConfig, 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.BnProjectConfigValue getBnProjectConfigValue()"), 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.lang.String getHistoric()"), 16 new java.rmi.server.Operation ("boolean getJMS()"), 17 new java.rmi.server.Operation ("boolean getLog()"), 18 new java.rmi.server.Operation ("java.lang.String getLogLevel()"), 19 new java.rmi.server.Operation ("java.lang.Object getPrimaryKey()"), 20 new java.rmi.server.Operation ("boolean getTrace()"), 21 new java.rmi.server.Operation ("java.lang.String getTraceLevel()"), 22 new java.rmi.server.Operation ("boolean isIdentical(javax.ejb.EJBObject)"), 23 new java.rmi.server.Operation ("void remove()"), 24 new java.rmi.server.Operation ("void setBnProjectConfigValue(hero.interfaces.BnProjectConfigValue)") 25 }; 26 27 private static final long interfaceHash = 4041194268747178860L; 28 29 private static final long serialVersionUID = 2; 30 31 private static boolean useNewInvoke; 32 private static java.lang.reflect.Method $method_getBnProject_0; 33 private static java.lang.reflect.Method $method_getBnProjectConfigValue_1; 34 private static java.lang.reflect.Method $method_getEJBHome_2; 35 private static java.lang.reflect.Method $method_getHandle_3; 36 private static java.lang.reflect.Method $method_getHistoric_4; 37 private static java.lang.reflect.Method $method_getJMS_5; 38 private static java.lang.reflect.Method $method_getLog_6; 39 private static java.lang.reflect.Method $method_getLogLevel_7; 40 private static java.lang.reflect.Method $method_getPrimaryKey_8; 41 private static java.lang.reflect.Method $method_getTrace_9; 42 private static java.lang.reflect.Method $method_getTraceLevel_10; 43 private static java.lang.reflect.Method $method_isIdentical_11; 44 private static java.lang.reflect.Method $method_remove_12; 45 private static java.lang.reflect.Method $method_setBnProjectConfigValue_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_getBnProject_0 = hero.interfaces.BnProjectConfig.class.getMethod("getBnProject", new java.lang.Class [] {}); 58 $method_getBnProjectConfigValue_1 = hero.interfaces.BnProjectConfig.class.getMethod("getBnProjectConfigValue", new java.lang.Class [] {}); 59 $method_getEJBHome_2 = javax.ejb.EJBObject .class.getMethod("getEJBHome", new java.lang.Class [] {}); 60 $method_getHandle_3 = javax.ejb.EJBObject .class.getMethod("getHandle", new java.lang.Class [] {}); 61 $method_getHistoric_4 = hero.interfaces.BnProjectConfig.class.getMethod("getHistoric", new java.lang.Class [] {}); 62 $method_getJMS_5 = hero.interfaces.BnProjectConfig.class.getMethod("getJMS", new java.lang.Class [] {}); 63 $method_getLog_6 = hero.interfaces.BnProjectConfig.class.getMethod("getLog", new java.lang.Class [] {}); 64 $method_getLogLevel_7 = hero.interfaces.BnProjectConfig.class.getMethod("getLogLevel", new java.lang.Class [] {}); 65 $method_getPrimaryKey_8 = javax.ejb.EJBObject .class.getMethod("getPrimaryKey", new java.lang.Class [] {}); 66 $method_getTrace_9 = hero.interfaces.BnProjectConfig.class.getMethod("getTrace", new java.lang.Class [] {}); 67 $method_getTraceLevel_10 = hero.interfaces.BnProjectConfig.class.getMethod("getTraceLevel", new java.lang.Class [] {}); 68 $method_isIdentical_11 = javax.ejb.EJBObject .class.getMethod("isIdentical", new java.lang.Class [] {javax.ejb.EJBObject .class}); 69 $method_remove_12 = javax.ejb.EJBObject .class.getMethod("remove", new java.lang.Class [] {}); 70 $method_setBnProjectConfigValue_13 = hero.interfaces.BnProjectConfig.class.getMethod("setBnProjectConfigValue", new java.lang.Class [] {hero.interfaces.BnProjectConfigValue.class}); 71 } catch (java.lang.NoSuchMethodException e) { 72 useNewInvoke = false; 73 } 74 } 75 76 public JOnASBnProjectConfig_1564617755Remote_Stub() { 78 super(); 79 } 80 public JOnASBnProjectConfig_1564617755Remote_Stub(java.rmi.server.RemoteRef ref) { 81 super(ref); 82 } 83 84 86 public hero.interfaces.BnProjectLocal getBnProject() 88 throws java.rmi.RemoteException 89 { 90 try { 91 if (useNewInvoke) { 92 Object $result = ref.invoke(this, $method_getBnProject_0, null, 523733266555080879L); 93 return ((hero.interfaces.BnProjectLocal) $result); 94 } else { 95 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 96 ref.invoke(call); 97 hero.interfaces.BnProjectLocal $result; 98 try { 99 java.io.ObjectInput in = call.getInputStream(); 100 $result = (hero.interfaces.BnProjectLocal) 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.BnProjectConfigValue getBnProjectConfigValue() 121 throws java.rmi.RemoteException 122 { 123 try { 124 if (useNewInvoke) { 125 Object $result = ref.invoke(this, $method_getBnProjectConfigValue_1, null, -4028826023271593589L); 126 return ((hero.interfaces.BnProjectConfigValue) $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.BnProjectConfigValue $result; 131 try { 132 java.io.ObjectInput in = call.getInputStream(); 133 $result = (hero.interfaces.BnProjectConfigValue) 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 javax.ejb.EJBHome getEJBHome() 154 throws java.rmi.RemoteException 155 { 156 try { 157 if (useNewInvoke) { 158 Object $result = ref.invoke(this, $method_getEJBHome_2, null, 3163754803894080547L); 159 return ((javax.ejb.EJBHome ) $result); 160 } else { 161 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 162 ref.invoke(call); 163 javax.ejb.EJBHome $result; 164 try { 165 java.io.ObjectInput in = call.getInputStream(); 166 $result = (javax.ejb.EJBHome ) 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.Handle getHandle() 187 throws java.rmi.RemoteException 188 { 189 try { 190 if (useNewInvoke) { 191 Object $result = ref.invoke(this, $method_getHandle_3, null, -1299374689989208114L); 192 return ((javax.ejb.Handle ) $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.Handle $result; 197 try { 198 java.io.ObjectInput in = call.getInputStream(); 199 $result = (javax.ejb.Handle ) 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 getHistoric() 220 throws java.rmi.RemoteException 221 { 222 try { 223 if (useNewInvoke) { 224 Object $result = ref.invoke(this, $method_getHistoric_4, null, -5557770497723157593L); 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 boolean getJMS() 253 throws java.rmi.RemoteException 254 { 255 try { 256 if (useNewInvoke) { 257 Object $result = ref.invoke(this, $method_getJMS_5, null, -8658853287704762026L); 258 return ((java.lang.Boolean ) $result).booleanValue(); 259 } else { 260 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 261 ref.invoke(call); 262 boolean $result; 263 try { 264 java.io.ObjectInput in = call.getInputStream(); 265 $result = in.readBoolean(); 266 } catch (java.io.IOException e) { 267 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 268 } finally { 269 ref.done(call); 270 } 271 return $result; 272 } 273 } catch (java.lang.RuntimeException e) { 274 throw e; 275 } catch (java.rmi.RemoteException e) { 276 throw e; 277 } catch (java.lang.Exception e) { 278 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 279 } 280 } 281 282 public boolean getLog() 284 throws java.rmi.RemoteException 285 { 286 try { 287 if (useNewInvoke) { 288 Object $result = ref.invoke(this, $method_getLog_6, null, -5559767167120113927L); 289 return ((java.lang.Boolean ) $result).booleanValue(); 290 } else { 291 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 292 ref.invoke(call); 293 boolean $result; 294 try { 295 java.io.ObjectInput in = call.getInputStream(); 296 $result = in.readBoolean(); 297 } catch (java.io.IOException e) { 298 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 299 } finally { 300 ref.done(call); 301 } 302 return $result; 303 } 304 } catch (java.lang.RuntimeException e) { 305 throw e; 306 } catch (java.rmi.RemoteException e) { 307 throw e; 308 } catch (java.lang.Exception e) { 309 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 310 } 311 } 312 313 public java.lang.String getLogLevel() 315 throws java.rmi.RemoteException 316 { 317 try { 318 if (useNewInvoke) { 319 Object $result = ref.invoke(this, $method_getLogLevel_7, null, 3904629127888479534L); 320 return ((java.lang.String ) $result); 321 } else { 322 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 323 ref.invoke(call); 324 java.lang.String $result; 325 try { 326 java.io.ObjectInput in = call.getInputStream(); 327 $result = (java.lang.String ) in.readObject(); 328 } catch (java.io.IOException e) { 329 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 330 } catch (java.lang.ClassNotFoundException e) { 331 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 332 } finally { 333 ref.done(call); 334 } 335 return $result; 336 } 337 } catch (java.lang.RuntimeException e) { 338 throw e; 339 } catch (java.rmi.RemoteException e) { 340 throw e; 341 } catch (java.lang.Exception e) { 342 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 343 } 344 } 345 346 public java.lang.Object getPrimaryKey() 348 throws java.rmi.RemoteException 349 { 350 try { 351 if (useNewInvoke) { 352 Object $result = ref.invoke(this, $method_getPrimaryKey_8, null, 4840115071604865751L); 353 return ((java.lang.Object ) $result); 354 } else { 355 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 8, interfaceHash); 356 ref.invoke(call); 357 java.lang.Object $result; 358 try { 359 java.io.ObjectInput in = call.getInputStream(); 360 $result = (java.lang.Object ) in.readObject(); 361 } catch (java.io.IOException e) { 362 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 363 } catch (java.lang.ClassNotFoundException e) { 364 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 365 } finally { 366 ref.done(call); 367 } 368 return $result; 369 } 370 } catch (java.lang.RuntimeException e) { 371 throw e; 372 } catch (java.rmi.RemoteException e) { 373 throw e; 374 } catch (java.lang.Exception e) { 375 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 376 } 377 } 378 379 public boolean getTrace() 381 throws java.rmi.RemoteException 382 { 383 try { 384 if (useNewInvoke) { 385 Object $result = ref.invoke(this, $method_getTrace_9, null, -7471253189498182557L); 386 return ((java.lang.Boolean ) $result).booleanValue(); 387 } else { 388 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 9, interfaceHash); 389 ref.invoke(call); 390 boolean $result; 391 try { 392 java.io.ObjectInput in = call.getInputStream(); 393 $result = in.readBoolean(); 394 } catch (java.io.IOException e) { 395 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 396 } finally { 397 ref.done(call); 398 } 399 return $result; 400 } 401 } catch (java.lang.RuntimeException e) { 402 throw e; 403 } catch (java.rmi.RemoteException e) { 404 throw e; 405 } catch (java.lang.Exception e) { 406 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 407 } 408 } 409 410 public java.lang.String getTraceLevel() 412 throws java.rmi.RemoteException 413 { 414 try { 415 if (useNewInvoke) { 416 Object $result = ref.invoke(this, $method_getTraceLevel_10, null, 5667102665966928397L); 417 return ((java.lang.String ) $result); 418 } else { 419 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 10, interfaceHash); 420 ref.invoke(call); 421 java.lang.String $result; 422 try { 423 java.io.ObjectInput in = call.getInputStream(); 424 $result = (java.lang.String ) in.readObject(); 425 } catch (java.io.IOException e) { 426 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 427 } catch (java.lang.ClassNotFoundException e) { 428 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 429 } finally { 430 ref.done(call); 431 } 432 return $result; 433 } 434 } catch (java.lang.RuntimeException e) { 435 throw e; 436 } catch (java.rmi.RemoteException e) { 437 throw e; 438 } catch (java.lang.Exception e) { 439 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 440 } 441 } 442 443 public boolean isIdentical(javax.ejb.EJBObject $param_EJBObject_1) 445 throws java.rmi.RemoteException 446 { 447 try { 448 if (useNewInvoke) { 449 Object $result = ref.invoke(this, $method_isIdentical_11, new java.lang.Object [] {$param_EJBObject_1}, -5909123752501984271L); 450 return ((java.lang.Boolean ) $result).booleanValue(); 451 } else { 452 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 11, interfaceHash); 453 try { 454 java.io.ObjectOutput out = call.getOutputStream(); 455 out.writeObject($param_EJBObject_1); 456 } catch (java.io.IOException e) { 457 throw new java.rmi.MarshalException ("error marshalling arguments", e); 458 } 459 ref.invoke(call); 460 boolean $result; 461 try { 462 java.io.ObjectInput in = call.getInputStream(); 463 $result = in.readBoolean(); 464 } catch (java.io.IOException e) { 465 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 466 } finally { 467 ref.done(call); 468 } 469 return $result; 470 } 471 } catch (java.lang.RuntimeException e) { 472 throw e; 473 } catch (java.rmi.RemoteException e) { 474 throw e; 475 } catch (java.lang.Exception e) { 476 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 477 } 478 } 479 480 public void remove() 482 throws java.rmi.RemoteException , javax.ejb.RemoveException 483 { 484 try { 485 if (useNewInvoke) { 486 ref.invoke(this, $method_remove_12, null, -5013858639939630501L); 487 } else { 488 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 12, interfaceHash); 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 (javax.ejb.RemoveException 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 setBnProjectConfigValue(hero.interfaces.BnProjectConfigValue $param_BnProjectConfigValue_1) 505 throws java.rmi.RemoteException 506 { 507 try { 508 if (useNewInvoke) { 509 ref.invoke(this, $method_setBnProjectConfigValue_13, new java.lang.Object [] {$param_BnProjectConfigValue_1}, 8946309275091440355L); 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_BnProjectConfigValue_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 |