1 4 package hero.interfaces; 5 6 public final class JOnASBnNodeProperty2125088013Home_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnNodePropertyHome, java.rmi.Remote , javax.ejb.EJBHome 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("hero.interfaces.BnNodeProperty create(hero.interfaces.BnNodePropertyValue)"), 12 new java.rmi.server.Operation ("hero.interfaces.BnNodeProperty create(java.lang.String, java.lang.String)"), 13 new java.rmi.server.Operation ("hero.interfaces.BnNodeProperty create(java.lang.String, java.util.Collection)"), 14 new java.rmi.server.Operation ("java.util.Collection findAll()"), 15 new java.rmi.server.Operation ("hero.interfaces.BnNodeProperty findByPrimaryKey(hero.interfaces.BnNodePropertyPK)"), 16 new java.rmi.server.Operation ("javax.ejb.EJBMetaData getEJBMetaData()"), 17 new java.rmi.server.Operation ("javax.ejb.HomeHandle getHomeHandle()"), 18 new java.rmi.server.Operation ("void remove(java.lang.Object)"), 19 new java.rmi.server.Operation ("void remove(javax.ejb.Handle)") 20 }; 21 22 private static final long interfaceHash = 253858570766063130L; 23 24 private static final long serialVersionUID = 2; 25 26 private static boolean useNewInvoke; 27 private static java.lang.reflect.Method $method_create_0; 28 private static java.lang.reflect.Method $method_create_1; 29 private static java.lang.reflect.Method $method_create_2; 30 private static java.lang.reflect.Method $method_findAll_3; 31 private static java.lang.reflect.Method $method_findByPrimaryKey_4; 32 private static java.lang.reflect.Method $method_getEJBMetaData_5; 33 private static java.lang.reflect.Method $method_getHomeHandle_6; 34 private static java.lang.reflect.Method $method_remove_7; 35 private static java.lang.reflect.Method $method_remove_8; 36 37 static { 38 try { 39 java.rmi.server.RemoteRef .class.getMethod("invoke", 40 new java.lang.Class [] { 41 java.rmi.Remote .class, 42 java.lang.reflect.Method .class, 43 java.lang.Object [].class, 44 long.class 45 }); 46 useNewInvoke = true; 47 $method_create_0 = hero.interfaces.BnNodePropertyHome.class.getMethod("create", new java.lang.Class [] {hero.interfaces.BnNodePropertyValue.class}); 48 $method_create_1 = hero.interfaces.BnNodePropertyHome.class.getMethod("create", new java.lang.Class [] {java.lang.String .class, java.lang.String .class}); 49 $method_create_2 = hero.interfaces.BnNodePropertyHome.class.getMethod("create", new java.lang.Class [] {java.lang.String .class, java.util.Collection .class}); 50 $method_findAll_3 = hero.interfaces.BnNodePropertyHome.class.getMethod("findAll", new java.lang.Class [] {}); 51 $method_findByPrimaryKey_4 = hero.interfaces.BnNodePropertyHome.class.getMethod("findByPrimaryKey", new java.lang.Class [] {hero.interfaces.BnNodePropertyPK.class}); 52 $method_getEJBMetaData_5 = javax.ejb.EJBHome .class.getMethod("getEJBMetaData", new java.lang.Class [] {}); 53 $method_getHomeHandle_6 = javax.ejb.EJBHome .class.getMethod("getHomeHandle", new java.lang.Class [] {}); 54 $method_remove_7 = javax.ejb.EJBHome .class.getMethod("remove", new java.lang.Class [] {java.lang.Object .class}); 55 $method_remove_8 = javax.ejb.EJBHome .class.getMethod("remove", new java.lang.Class [] {javax.ejb.Handle .class}); 56 } catch (java.lang.NoSuchMethodException e) { 57 useNewInvoke = false; 58 } 59 } 60 61 public JOnASBnNodeProperty2125088013Home_Stub() { 63 super(); 64 } 65 public JOnASBnNodeProperty2125088013Home_Stub(java.rmi.server.RemoteRef ref) { 66 super(ref); 67 } 68 69 71 public hero.interfaces.BnNodeProperty create(hero.interfaces.BnNodePropertyValue $param_BnNodePropertyValue_1) 73 throws hero.interfaces.InvalidValueException, java.rmi.RemoteException , javax.ejb.CreateException 74 { 75 try { 76 if (useNewInvoke) { 77 Object $result = ref.invoke(this, $method_create_0, new java.lang.Object [] {$param_BnNodePropertyValue_1}, 2490285214045379259L); 78 return ((hero.interfaces.BnNodeProperty) $result); 79 } else { 80 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 81 try { 82 java.io.ObjectOutput out = call.getOutputStream(); 83 out.writeObject($param_BnNodePropertyValue_1); 84 } catch (java.io.IOException e) { 85 throw new java.rmi.MarshalException ("error marshalling arguments", e); 86 } 87 ref.invoke(call); 88 hero.interfaces.BnNodeProperty $result; 89 try { 90 java.io.ObjectInput in = call.getInputStream(); 91 $result = (hero.interfaces.BnNodeProperty) in.readObject(); 92 } catch (java.io.IOException e) { 93 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 94 } catch (java.lang.ClassNotFoundException e) { 95 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 96 } finally { 97 ref.done(call); 98 } 99 return $result; 100 } 101 } catch (java.lang.RuntimeException e) { 102 throw e; 103 } catch (java.rmi.RemoteException e) { 104 throw e; 105 } catch (hero.interfaces.InvalidValueException e) { 106 throw e; 107 } catch (javax.ejb.CreateException e) { 108 throw e; 109 } catch (java.lang.Exception e) { 110 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 111 } 112 } 113 114 public hero.interfaces.BnNodeProperty create(java.lang.String $param_String_1, java.lang.String $param_String_2) 116 throws hero.interfaces.InvalidValueException, java.rmi.RemoteException , javax.ejb.CreateException 117 { 118 try { 119 if (useNewInvoke) { 120 Object $result = ref.invoke(this, $method_create_1, new java.lang.Object [] {$param_String_1, $param_String_2}, 7487326201693378541L); 121 return ((hero.interfaces.BnNodeProperty) $result); 122 } else { 123 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 1, interfaceHash); 124 try { 125 java.io.ObjectOutput out = call.getOutputStream(); 126 out.writeObject($param_String_1); 127 out.writeObject($param_String_2); 128 } catch (java.io.IOException e) { 129 throw new java.rmi.MarshalException ("error marshalling arguments", e); 130 } 131 ref.invoke(call); 132 hero.interfaces.BnNodeProperty $result; 133 try { 134 java.io.ObjectInput in = call.getInputStream(); 135 $result = (hero.interfaces.BnNodeProperty) in.readObject(); 136 } catch (java.io.IOException e) { 137 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 138 } catch (java.lang.ClassNotFoundException e) { 139 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 140 } finally { 141 ref.done(call); 142 } 143 return $result; 144 } 145 } catch (java.lang.RuntimeException e) { 146 throw e; 147 } catch (java.rmi.RemoteException e) { 148 throw e; 149 } catch (hero.interfaces.InvalidValueException e) { 150 throw e; 151 } catch (javax.ejb.CreateException 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 hero.interfaces.BnNodeProperty create(java.lang.String $param_String_1, java.util.Collection $param_Collection_2) 160 throws hero.interfaces.InvalidValueException, java.rmi.RemoteException , javax.ejb.CreateException 161 { 162 try { 163 if (useNewInvoke) { 164 Object $result = ref.invoke(this, $method_create_2, new java.lang.Object [] {$param_String_1, $param_Collection_2}, -4809128012912938535L); 165 return ((hero.interfaces.BnNodeProperty) $result); 166 } else { 167 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 168 try { 169 java.io.ObjectOutput out = call.getOutputStream(); 170 out.writeObject($param_String_1); 171 out.writeObject($param_Collection_2); 172 } catch (java.io.IOException e) { 173 throw new java.rmi.MarshalException ("error marshalling arguments", e); 174 } 175 ref.invoke(call); 176 hero.interfaces.BnNodeProperty $result; 177 try { 178 java.io.ObjectInput in = call.getInputStream(); 179 $result = (hero.interfaces.BnNodeProperty) in.readObject(); 180 } catch (java.io.IOException e) { 181 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 182 } catch (java.lang.ClassNotFoundException e) { 183 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 184 } finally { 185 ref.done(call); 186 } 187 return $result; 188 } 189 } catch (java.lang.RuntimeException e) { 190 throw e; 191 } catch (java.rmi.RemoteException e) { 192 throw e; 193 } catch (hero.interfaces.InvalidValueException e) { 194 throw e; 195 } catch (javax.ejb.CreateException e) { 196 throw e; 197 } catch (java.lang.Exception e) { 198 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 199 } 200 } 201 202 public java.util.Collection findAll() 204 throws java.rmi.RemoteException , javax.ejb.FinderException 205 { 206 try { 207 if (useNewInvoke) { 208 Object $result = ref.invoke(this, $method_findAll_3, null, -4609096605735334920L); 209 return ((java.util.Collection ) $result); 210 } else { 211 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 212 ref.invoke(call); 213 java.util.Collection $result; 214 try { 215 java.io.ObjectInput in = call.getInputStream(); 216 $result = (java.util.Collection ) in.readObject(); 217 } catch (java.io.IOException e) { 218 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 219 } catch (java.lang.ClassNotFoundException e) { 220 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 221 } finally { 222 ref.done(call); 223 } 224 return $result; 225 } 226 } catch (java.lang.RuntimeException e) { 227 throw e; 228 } catch (java.rmi.RemoteException e) { 229 throw e; 230 } catch (javax.ejb.FinderException e) { 231 throw e; 232 } catch (java.lang.Exception e) { 233 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 234 } 235 } 236 237 public hero.interfaces.BnNodeProperty findByPrimaryKey(hero.interfaces.BnNodePropertyPK $param_BnNodePropertyPK_1) 239 throws java.rmi.RemoteException , javax.ejb.FinderException 240 { 241 try { 242 if (useNewInvoke) { 243 Object $result = ref.invoke(this, $method_findByPrimaryKey_4, new java.lang.Object [] {$param_BnNodePropertyPK_1}, -7922069470779065456L); 244 return ((hero.interfaces.BnNodeProperty) $result); 245 } else { 246 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 247 try { 248 java.io.ObjectOutput out = call.getOutputStream(); 249 out.writeObject($param_BnNodePropertyPK_1); 250 } catch (java.io.IOException e) { 251 throw new java.rmi.MarshalException ("error marshalling arguments", e); 252 } 253 ref.invoke(call); 254 hero.interfaces.BnNodeProperty $result; 255 try { 256 java.io.ObjectInput in = call.getInputStream(); 257 $result = (hero.interfaces.BnNodeProperty) in.readObject(); 258 } catch (java.io.IOException e) { 259 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 260 } catch (java.lang.ClassNotFoundException e) { 261 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 262 } finally { 263 ref.done(call); 264 } 265 return $result; 266 } 267 } catch (java.lang.RuntimeException e) { 268 throw e; 269 } catch (java.rmi.RemoteException e) { 270 throw e; 271 } catch (javax.ejb.FinderException 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 javax.ejb.EJBMetaData getEJBMetaData() 280 throws java.rmi.RemoteException 281 { 282 try { 283 if (useNewInvoke) { 284 Object $result = ref.invoke(this, $method_getEJBMetaData_5, null, 6217030353865232067L); 285 return ((javax.ejb.EJBMetaData ) $result); 286 } else { 287 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 288 ref.invoke(call); 289 javax.ejb.EJBMetaData $result; 290 try { 291 java.io.ObjectInput in = call.getInputStream(); 292 $result = (javax.ejb.EJBMetaData ) 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 javax.ejb.HomeHandle getHomeHandle() 313 throws java.rmi.RemoteException 314 { 315 try { 316 if (useNewInvoke) { 317 Object $result = ref.invoke(this, $method_getHomeHandle_6, null, -8748260460775500658L); 318 return ((javax.ejb.HomeHandle ) $result); 319 } else { 320 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 321 ref.invoke(call); 322 javax.ejb.HomeHandle $result; 323 try { 324 java.io.ObjectInput in = call.getInputStream(); 325 $result = (javax.ejb.HomeHandle ) in.readObject(); 326 } catch (java.io.IOException e) { 327 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 328 } catch (java.lang.ClassNotFoundException e) { 329 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 330 } finally { 331 ref.done(call); 332 } 333 return $result; 334 } 335 } catch (java.lang.RuntimeException e) { 336 throw e; 337 } catch (java.rmi.RemoteException e) { 338 throw e; 339 } catch (java.lang.Exception e) { 340 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 341 } 342 } 343 344 public void remove(java.lang.Object $param_Object_1) 346 throws java.rmi.RemoteException , javax.ejb.RemoveException 347 { 348 try { 349 if (useNewInvoke) { 350 ref.invoke(this, $method_remove_7, new java.lang.Object [] {$param_Object_1}, 4460578865329725433L); 351 } else { 352 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 353 try { 354 java.io.ObjectOutput out = call.getOutputStream(); 355 out.writeObject($param_Object_1); 356 } catch (java.io.IOException e) { 357 throw new java.rmi.MarshalException ("error marshalling arguments", e); 358 } 359 ref.invoke(call); 360 ref.done(call); 361 } 362 } catch (java.lang.RuntimeException e) { 363 throw e; 364 } catch (java.rmi.RemoteException e) { 365 throw e; 366 } catch (javax.ejb.RemoveException e) { 367 throw e; 368 } catch (java.lang.Exception e) { 369 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 370 } 371 } 372 373 public void remove(javax.ejb.Handle $param_Handle_1) 375 throws java.rmi.RemoteException , javax.ejb.RemoveException 376 { 377 try { 378 if (useNewInvoke) { 379 ref.invoke(this, $method_remove_8, new java.lang.Object [] {$param_Handle_1}, 1121126102706750000L); 380 } else { 381 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 8, interfaceHash); 382 try { 383 java.io.ObjectOutput out = call.getOutputStream(); 384 out.writeObject($param_Handle_1); 385 } catch (java.io.IOException e) { 386 throw new java.rmi.MarshalException ("error marshalling arguments", e); 387 } 388 ref.invoke(call); 389 ref.done(call); 390 } 391 } catch (java.lang.RuntimeException e) { 392 throw e; 393 } catch (java.rmi.RemoteException e) { 394 throw e; 395 } catch (javax.ejb.RemoveException e) { 396 throw e; 397 } catch (java.lang.Exception e) { 398 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 399 } 400 } 401 } 402 | Popular Tags |