1 4 package hero.interfaces; 5 6 public final class JOnASBnUserProperty_652281107Remote_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnUserProperty, java.rmi.Remote , javax.ejb.EJBObject 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("hero.interfaces.BnUserLocal getBnUser()"), 12 new java.rmi.server.Operation ("hero.interfaces.BnUserPropertyValue getBnUserPropertyValue()"), 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.Object getPrimaryKey()"), 16 new java.rmi.server.Operation ("java.lang.String getTheKey()"), 17 new java.rmi.server.Operation ("java.lang.String getTheValue()"), 18 new java.rmi.server.Operation ("boolean isIdentical(javax.ejb.EJBObject)"), 19 new java.rmi.server.Operation ("void remove()"), 20 new java.rmi.server.Operation ("void setBnUserPropertyValue(hero.interfaces.BnUserPropertyValue)"), 21 new java.rmi.server.Operation ("void setTheKey(java.lang.String)"), 22 new java.rmi.server.Operation ("void setTheValue(java.lang.String)") 23 }; 24 25 private static final long interfaceHash = 7510138615684148206L; 26 27 private static final long serialVersionUID = 2; 28 29 private static boolean useNewInvoke; 30 private static java.lang.reflect.Method $method_getBnUser_0; 31 private static java.lang.reflect.Method $method_getBnUserPropertyValue_1; 32 private static java.lang.reflect.Method $method_getEJBHome_2; 33 private static java.lang.reflect.Method $method_getHandle_3; 34 private static java.lang.reflect.Method $method_getPrimaryKey_4; 35 private static java.lang.reflect.Method $method_getTheKey_5; 36 private static java.lang.reflect.Method $method_getTheValue_6; 37 private static java.lang.reflect.Method $method_isIdentical_7; 38 private static java.lang.reflect.Method $method_remove_8; 39 private static java.lang.reflect.Method $method_setBnUserPropertyValue_9; 40 private static java.lang.reflect.Method $method_setTheKey_10; 41 private static java.lang.reflect.Method $method_setTheValue_11; 42 43 static { 44 try { 45 java.rmi.server.RemoteRef .class.getMethod("invoke", 46 new java.lang.Class [] { 47 java.rmi.Remote .class, 48 java.lang.reflect.Method .class, 49 java.lang.Object [].class, 50 long.class 51 }); 52 useNewInvoke = true; 53 $method_getBnUser_0 = hero.interfaces.BnUserProperty.class.getMethod("getBnUser", new java.lang.Class [] {}); 54 $method_getBnUserPropertyValue_1 = hero.interfaces.BnUserProperty.class.getMethod("getBnUserPropertyValue", new java.lang.Class [] {}); 55 $method_getEJBHome_2 = javax.ejb.EJBObject .class.getMethod("getEJBHome", new java.lang.Class [] {}); 56 $method_getHandle_3 = javax.ejb.EJBObject .class.getMethod("getHandle", new java.lang.Class [] {}); 57 $method_getPrimaryKey_4 = javax.ejb.EJBObject .class.getMethod("getPrimaryKey", new java.lang.Class [] {}); 58 $method_getTheKey_5 = hero.interfaces.BnUserProperty.class.getMethod("getTheKey", new java.lang.Class [] {}); 59 $method_getTheValue_6 = hero.interfaces.BnUserProperty.class.getMethod("getTheValue", new java.lang.Class [] {}); 60 $method_isIdentical_7 = javax.ejb.EJBObject .class.getMethod("isIdentical", new java.lang.Class [] {javax.ejb.EJBObject .class}); 61 $method_remove_8 = javax.ejb.EJBObject .class.getMethod("remove", new java.lang.Class [] {}); 62 $method_setBnUserPropertyValue_9 = hero.interfaces.BnUserProperty.class.getMethod("setBnUserPropertyValue", new java.lang.Class [] {hero.interfaces.BnUserPropertyValue.class}); 63 $method_setTheKey_10 = hero.interfaces.BnUserProperty.class.getMethod("setTheKey", new java.lang.Class [] {java.lang.String .class}); 64 $method_setTheValue_11 = hero.interfaces.BnUserProperty.class.getMethod("setTheValue", new java.lang.Class [] {java.lang.String .class}); 65 } catch (java.lang.NoSuchMethodException e) { 66 useNewInvoke = false; 67 } 68 } 69 70 public JOnASBnUserProperty_652281107Remote_Stub() { 72 super(); 73 } 74 public JOnASBnUserProperty_652281107Remote_Stub(java.rmi.server.RemoteRef ref) { 75 super(ref); 76 } 77 78 80 public hero.interfaces.BnUserLocal getBnUser() 82 throws java.rmi.RemoteException 83 { 84 try { 85 if (useNewInvoke) { 86 Object $result = ref.invoke(this, $method_getBnUser_0, null, -963483686680487339L); 87 return ((hero.interfaces.BnUserLocal) $result); 88 } else { 89 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 90 ref.invoke(call); 91 hero.interfaces.BnUserLocal $result; 92 try { 93 java.io.ObjectInput in = call.getInputStream(); 94 $result = (hero.interfaces.BnUserLocal) in.readObject(); 95 } catch (java.io.IOException e) { 96 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 97 } catch (java.lang.ClassNotFoundException e) { 98 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 99 } finally { 100 ref.done(call); 101 } 102 return $result; 103 } 104 } catch (java.lang.RuntimeException e) { 105 throw e; 106 } catch (java.rmi.RemoteException e) { 107 throw e; 108 } catch (java.lang.Exception e) { 109 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 110 } 111 } 112 113 public hero.interfaces.BnUserPropertyValue getBnUserPropertyValue() 115 throws java.rmi.RemoteException 116 { 117 try { 118 if (useNewInvoke) { 119 Object $result = ref.invoke(this, $method_getBnUserPropertyValue_1, null, -3666832732454761856L); 120 return ((hero.interfaces.BnUserPropertyValue) $result); 121 } else { 122 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 1, interfaceHash); 123 ref.invoke(call); 124 hero.interfaces.BnUserPropertyValue $result; 125 try { 126 java.io.ObjectInput in = call.getInputStream(); 127 $result = (hero.interfaces.BnUserPropertyValue) in.readObject(); 128 } catch (java.io.IOException e) { 129 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 130 } catch (java.lang.ClassNotFoundException e) { 131 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 132 } finally { 133 ref.done(call); 134 } 135 return $result; 136 } 137 } catch (java.lang.RuntimeException e) { 138 throw e; 139 } catch (java.rmi.RemoteException e) { 140 throw e; 141 } catch (java.lang.Exception e) { 142 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 143 } 144 } 145 146 public javax.ejb.EJBHome getEJBHome() 148 throws java.rmi.RemoteException 149 { 150 try { 151 if (useNewInvoke) { 152 Object $result = ref.invoke(this, $method_getEJBHome_2, null, 3163754803894080547L); 153 return ((javax.ejb.EJBHome ) $result); 154 } else { 155 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 156 ref.invoke(call); 157 javax.ejb.EJBHome $result; 158 try { 159 java.io.ObjectInput in = call.getInputStream(); 160 $result = (javax.ejb.EJBHome ) in.readObject(); 161 } catch (java.io.IOException e) { 162 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 163 } catch (java.lang.ClassNotFoundException e) { 164 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 165 } finally { 166 ref.done(call); 167 } 168 return $result; 169 } 170 } catch (java.lang.RuntimeException e) { 171 throw e; 172 } catch (java.rmi.RemoteException e) { 173 throw e; 174 } catch (java.lang.Exception e) { 175 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 176 } 177 } 178 179 public javax.ejb.Handle getHandle() 181 throws java.rmi.RemoteException 182 { 183 try { 184 if (useNewInvoke) { 185 Object $result = ref.invoke(this, $method_getHandle_3, null, -1299374689989208114L); 186 return ((javax.ejb.Handle ) $result); 187 } else { 188 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 189 ref.invoke(call); 190 javax.ejb.Handle $result; 191 try { 192 java.io.ObjectInput in = call.getInputStream(); 193 $result = (javax.ejb.Handle ) in.readObject(); 194 } catch (java.io.IOException e) { 195 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 196 } catch (java.lang.ClassNotFoundException e) { 197 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 198 } finally { 199 ref.done(call); 200 } 201 return $result; 202 } 203 } catch (java.lang.RuntimeException e) { 204 throw e; 205 } catch (java.rmi.RemoteException e) { 206 throw e; 207 } catch (java.lang.Exception e) { 208 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 209 } 210 } 211 212 public java.lang.Object getPrimaryKey() 214 throws java.rmi.RemoteException 215 { 216 try { 217 if (useNewInvoke) { 218 Object $result = ref.invoke(this, $method_getPrimaryKey_4, null, 4840115071604865751L); 219 return ((java.lang.Object ) $result); 220 } else { 221 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 222 ref.invoke(call); 223 java.lang.Object $result; 224 try { 225 java.io.ObjectInput in = call.getInputStream(); 226 $result = (java.lang.Object ) in.readObject(); 227 } catch (java.io.IOException e) { 228 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 229 } catch (java.lang.ClassNotFoundException e) { 230 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 231 } finally { 232 ref.done(call); 233 } 234 return $result; 235 } 236 } catch (java.lang.RuntimeException e) { 237 throw e; 238 } catch (java.rmi.RemoteException e) { 239 throw e; 240 } catch (java.lang.Exception e) { 241 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 242 } 243 } 244 245 public java.lang.String getTheKey() 247 throws java.rmi.RemoteException 248 { 249 try { 250 if (useNewInvoke) { 251 Object $result = ref.invoke(this, $method_getTheKey_5, null, -4415983027654962903L); 252 return ((java.lang.String ) $result); 253 } else { 254 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 255 ref.invoke(call); 256 java.lang.String $result; 257 try { 258 java.io.ObjectInput in = call.getInputStream(); 259 $result = (java.lang.String ) in.readObject(); 260 } catch (java.io.IOException e) { 261 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 262 } catch (java.lang.ClassNotFoundException e) { 263 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 264 } finally { 265 ref.done(call); 266 } 267 return $result; 268 } 269 } catch (java.lang.RuntimeException e) { 270 throw e; 271 } catch (java.rmi.RemoteException e) { 272 throw e; 273 } catch (java.lang.Exception e) { 274 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 275 } 276 } 277 278 public java.lang.String getTheValue() 280 throws java.rmi.RemoteException 281 { 282 try { 283 if (useNewInvoke) { 284 Object $result = ref.invoke(this, $method_getTheValue_6, null, 1410221645011511387L); 285 return ((java.lang.String ) $result); 286 } else { 287 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 288 ref.invoke(call); 289 java.lang.String $result; 290 try { 291 java.io.ObjectInput in = call.getInputStream(); 292 $result = (java.lang.String ) in.readObject(); 293 } catch (java.io.IOException e) { 294 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 295 } catch (java.lang.ClassNotFoundException e) { 296 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 297 } finally { 298 ref.done(call); 299 } 300 return $result; 301 } 302 } catch (java.lang.RuntimeException e) { 303 throw e; 304 } catch (java.rmi.RemoteException e) { 305 throw e; 306 } catch (java.lang.Exception e) { 307 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 308 } 309 } 310 311 public boolean isIdentical(javax.ejb.EJBObject $param_EJBObject_1) 313 throws java.rmi.RemoteException 314 { 315 try { 316 if (useNewInvoke) { 317 Object $result = ref.invoke(this, $method_isIdentical_7, new java.lang.Object [] {$param_EJBObject_1}, -5909123752501984271L); 318 return ((java.lang.Boolean ) $result).booleanValue(); 319 } else { 320 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 321 try { 322 java.io.ObjectOutput out = call.getOutputStream(); 323 out.writeObject($param_EJBObject_1); 324 } catch (java.io.IOException e) { 325 throw new java.rmi.MarshalException ("error marshalling arguments", e); 326 } 327 ref.invoke(call); 328 boolean $result; 329 try { 330 java.io.ObjectInput in = call.getInputStream(); 331 $result = in.readBoolean(); 332 } catch (java.io.IOException e) { 333 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 334 } finally { 335 ref.done(call); 336 } 337 return $result; 338 } 339 } catch (java.lang.RuntimeException e) { 340 throw e; 341 } catch (java.rmi.RemoteException e) { 342 throw e; 343 } catch (java.lang.Exception e) { 344 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 345 } 346 } 347 348 public void remove() 350 throws java.rmi.RemoteException , javax.ejb.RemoveException 351 { 352 try { 353 if (useNewInvoke) { 354 ref.invoke(this, $method_remove_8, null, -5013858639939630501L); 355 } else { 356 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 8, interfaceHash); 357 ref.invoke(call); 358 ref.done(call); 359 } 360 } catch (java.lang.RuntimeException e) { 361 throw e; 362 } catch (java.rmi.RemoteException e) { 363 throw e; 364 } catch (javax.ejb.RemoveException e) { 365 throw e; 366 } catch (java.lang.Exception e) { 367 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 368 } 369 } 370 371 public void setBnUserPropertyValue(hero.interfaces.BnUserPropertyValue $param_BnUserPropertyValue_1) 373 throws java.rmi.RemoteException 374 { 375 try { 376 if (useNewInvoke) { 377 ref.invoke(this, $method_setBnUserPropertyValue_9, new java.lang.Object [] {$param_BnUserPropertyValue_1}, 1645401150641895547L); 378 } else { 379 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 9, interfaceHash); 380 try { 381 java.io.ObjectOutput out = call.getOutputStream(); 382 out.writeObject($param_BnUserPropertyValue_1); 383 } catch (java.io.IOException e) { 384 throw new java.rmi.MarshalException ("error marshalling arguments", e); 385 } 386 ref.invoke(call); 387 ref.done(call); 388 } 389 } catch (java.lang.RuntimeException e) { 390 throw e; 391 } catch (java.rmi.RemoteException e) { 392 throw e; 393 } catch (java.lang.Exception e) { 394 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 395 } 396 } 397 398 public void setTheKey(java.lang.String $param_String_1) 400 throws java.rmi.RemoteException 401 { 402 try { 403 if (useNewInvoke) { 404 ref.invoke(this, $method_setTheKey_10, new java.lang.Object [] {$param_String_1}, -6910684652834854345L); 405 } else { 406 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 10, interfaceHash); 407 try { 408 java.io.ObjectOutput out = call.getOutputStream(); 409 out.writeObject($param_String_1); 410 } catch (java.io.IOException e) { 411 throw new java.rmi.MarshalException ("error marshalling arguments", e); 412 } 413 ref.invoke(call); 414 ref.done(call); 415 } 416 } catch (java.lang.RuntimeException e) { 417 throw e; 418 } catch (java.rmi.RemoteException e) { 419 throw e; 420 } catch (java.lang.Exception e) { 421 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 422 } 423 } 424 425 public void setTheValue(java.lang.String $param_String_1) 427 throws java.rmi.RemoteException 428 { 429 try { 430 if (useNewInvoke) { 431 ref.invoke(this, $method_setTheValue_11, new java.lang.Object [] {$param_String_1}, -5801307261233548463L); 432 } else { 433 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 11, interfaceHash); 434 try { 435 java.io.ObjectOutput out = call.getOutputStream(); 436 out.writeObject($param_String_1); 437 } catch (java.io.IOException e) { 438 throw new java.rmi.MarshalException ("error marshalling arguments", e); 439 } 440 ref.invoke(call); 441 ref.done(call); 442 } 443 } catch (java.lang.RuntimeException e) { 444 throw e; 445 } catch (java.rmi.RemoteException e) { 446 throw e; 447 } catch (java.lang.Exception e) { 448 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 449 } 450 } 451 } 452 | Popular Tags |