1 4 package hero.interfaces; 5 6 public final class JOnASBnProjectConfig_1564617755Home_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnProjectConfigHome, java.rmi.Remote , javax.ejb.EJBHome 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("hero.interfaces.BnProjectConfig create()"), 12 new java.rmi.server.Operation ("hero.interfaces.BnProjectConfig create(hero.interfaces.BnProjectConfigValue)"), 13 new java.rmi.server.Operation ("hero.interfaces.BnProjectConfig create(hero.util.values.BonitaConfigValue, java.lang.String)"), 14 new java.rmi.server.Operation ("java.util.Collection findAll()"), 15 new java.rmi.server.Operation ("hero.interfaces.BnProjectConfig findByPrimaryKey(hero.interfaces.BnProjectConfigPK)"), 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 = -5846908219404972928L; 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.BnProjectConfigHome.class.getMethod("create", new java.lang.Class [] {}); 48 $method_create_1 = hero.interfaces.BnProjectConfigHome.class.getMethod("create", new java.lang.Class [] {hero.interfaces.BnProjectConfigValue.class}); 49 $method_create_2 = hero.interfaces.BnProjectConfigHome.class.getMethod("create", new java.lang.Class [] {hero.util.values.BonitaConfigValue.class, java.lang.String .class}); 50 $method_findAll_3 = hero.interfaces.BnProjectConfigHome.class.getMethod("findAll", new java.lang.Class [] {}); 51 $method_findByPrimaryKey_4 = hero.interfaces.BnProjectConfigHome.class.getMethod("findByPrimaryKey", new java.lang.Class [] {hero.interfaces.BnProjectConfigPK.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 JOnASBnProjectConfig_1564617755Home_Stub() { 63 super(); 64 } 65 public JOnASBnProjectConfig_1564617755Home_Stub(java.rmi.server.RemoteRef ref) { 66 super(ref); 67 } 68 69 71 public hero.interfaces.BnProjectConfig create() 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, null, 6745592634172027564L); 78 return ((hero.interfaces.BnProjectConfig) $result); 79 } else { 80 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 81 ref.invoke(call); 82 hero.interfaces.BnProjectConfig $result; 83 try { 84 java.io.ObjectInput in = call.getInputStream(); 85 $result = (hero.interfaces.BnProjectConfig) in.readObject(); 86 } catch (java.io.IOException e) { 87 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 88 } catch (java.lang.ClassNotFoundException e) { 89 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 90 } finally { 91 ref.done(call); 92 } 93 return $result; 94 } 95 } catch (java.lang.RuntimeException e) { 96 throw e; 97 } catch (java.rmi.RemoteException e) { 98 throw e; 99 } catch (hero.interfaces.InvalidValueException e) { 100 throw e; 101 } catch (javax.ejb.CreateException e) { 102 throw e; 103 } catch (java.lang.Exception e) { 104 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 105 } 106 } 107 108 public hero.interfaces.BnProjectConfig create(hero.interfaces.BnProjectConfigValue $param_BnProjectConfigValue_1) 110 throws java.rmi.RemoteException , javax.ejb.CreateException 111 { 112 try { 113 if (useNewInvoke) { 114 Object $result = ref.invoke(this, $method_create_1, new java.lang.Object [] {$param_BnProjectConfigValue_1}, -5126655397851303287L); 115 return ((hero.interfaces.BnProjectConfig) $result); 116 } else { 117 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 1, interfaceHash); 118 try { 119 java.io.ObjectOutput out = call.getOutputStream(); 120 out.writeObject($param_BnProjectConfigValue_1); 121 } catch (java.io.IOException e) { 122 throw new java.rmi.MarshalException ("error marshalling arguments", e); 123 } 124 ref.invoke(call); 125 hero.interfaces.BnProjectConfig $result; 126 try { 127 java.io.ObjectInput in = call.getInputStream(); 128 $result = (hero.interfaces.BnProjectConfig) in.readObject(); 129 } catch (java.io.IOException e) { 130 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 131 } catch (java.lang.ClassNotFoundException e) { 132 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 133 } finally { 134 ref.done(call); 135 } 136 return $result; 137 } 138 } catch (java.lang.RuntimeException e) { 139 throw e; 140 } catch (java.rmi.RemoteException e) { 141 throw e; 142 } catch (javax.ejb.CreateException e) { 143 throw e; 144 } catch (java.lang.Exception e) { 145 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 146 } 147 } 148 149 public hero.interfaces.BnProjectConfig create(hero.util.values.BonitaConfigValue $param_BonitaConfigValue_1, java.lang.String $param_String_2) 151 throws hero.interfaces.InvalidValueException, java.rmi.RemoteException , javax.ejb.CreateException 152 { 153 try { 154 if (useNewInvoke) { 155 Object $result = ref.invoke(this, $method_create_2, new java.lang.Object [] {$param_BonitaConfigValue_1, $param_String_2}, 1662849389933230737L); 156 return ((hero.interfaces.BnProjectConfig) $result); 157 } else { 158 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 159 try { 160 java.io.ObjectOutput out = call.getOutputStream(); 161 out.writeObject($param_BonitaConfigValue_1); 162 out.writeObject($param_String_2); 163 } catch (java.io.IOException e) { 164 throw new java.rmi.MarshalException ("error marshalling arguments", e); 165 } 166 ref.invoke(call); 167 hero.interfaces.BnProjectConfig $result; 168 try { 169 java.io.ObjectInput in = call.getInputStream(); 170 $result = (hero.interfaces.BnProjectConfig) in.readObject(); 171 } catch (java.io.IOException e) { 172 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 173 } catch (java.lang.ClassNotFoundException e) { 174 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 175 } finally { 176 ref.done(call); 177 } 178 return $result; 179 } 180 } catch (java.lang.RuntimeException e) { 181 throw e; 182 } catch (java.rmi.RemoteException e) { 183 throw e; 184 } catch (hero.interfaces.InvalidValueException e) { 185 throw e; 186 } catch (javax.ejb.CreateException 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.util.Collection findAll() 195 throws java.rmi.RemoteException , javax.ejb.FinderException 196 { 197 try { 198 if (useNewInvoke) { 199 Object $result = ref.invoke(this, $method_findAll_3, null, -4609096605735334920L); 200 return ((java.util.Collection ) $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.util.Collection $result; 205 try { 206 java.io.ObjectInput in = call.getInputStream(); 207 $result = (java.util.Collection ) 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 (javax.ejb.FinderException e) { 222 throw e; 223 } catch (java.lang.Exception e) { 224 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 225 } 226 } 227 228 public hero.interfaces.BnProjectConfig findByPrimaryKey(hero.interfaces.BnProjectConfigPK $param_BnProjectConfigPK_1) 230 throws java.rmi.RemoteException , javax.ejb.FinderException 231 { 232 try { 233 if (useNewInvoke) { 234 Object $result = ref.invoke(this, $method_findByPrimaryKey_4, new java.lang.Object [] {$param_BnProjectConfigPK_1}, 2805306739195609046L); 235 return ((hero.interfaces.BnProjectConfig) $result); 236 } else { 237 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 238 try { 239 java.io.ObjectOutput out = call.getOutputStream(); 240 out.writeObject($param_BnProjectConfigPK_1); 241 } catch (java.io.IOException e) { 242 throw new java.rmi.MarshalException ("error marshalling arguments", e); 243 } 244 ref.invoke(call); 245 hero.interfaces.BnProjectConfig $result; 246 try { 247 java.io.ObjectInput in = call.getInputStream(); 248 $result = (hero.interfaces.BnProjectConfig) in.readObject(); 249 } catch (java.io.IOException e) { 250 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 251 } catch (java.lang.ClassNotFoundException e) { 252 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 253 } finally { 254 ref.done(call); 255 } 256 return $result; 257 } 258 } catch (java.lang.RuntimeException e) { 259 throw e; 260 } catch (java.rmi.RemoteException e) { 261 throw e; 262 } catch (javax.ejb.FinderException e) { 263 throw e; 264 } catch (java.lang.Exception e) { 265 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 266 } 267 } 268 269 public javax.ejb.EJBMetaData getEJBMetaData() 271 throws java.rmi.RemoteException 272 { 273 try { 274 if (useNewInvoke) { 275 Object $result = ref.invoke(this, $method_getEJBMetaData_5, null, 6217030353865232067L); 276 return ((javax.ejb.EJBMetaData ) $result); 277 } else { 278 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 279 ref.invoke(call); 280 javax.ejb.EJBMetaData $result; 281 try { 282 java.io.ObjectInput in = call.getInputStream(); 283 $result = (javax.ejb.EJBMetaData ) in.readObject(); 284 } catch (java.io.IOException e) { 285 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 286 } catch (java.lang.ClassNotFoundException e) { 287 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 288 } finally { 289 ref.done(call); 290 } 291 return $result; 292 } 293 } catch (java.lang.RuntimeException e) { 294 throw e; 295 } catch (java.rmi.RemoteException 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 javax.ejb.HomeHandle getHomeHandle() 304 throws java.rmi.RemoteException 305 { 306 try { 307 if (useNewInvoke) { 308 Object $result = ref.invoke(this, $method_getHomeHandle_6, null, -8748260460775500658L); 309 return ((javax.ejb.HomeHandle ) $result); 310 } else { 311 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 312 ref.invoke(call); 313 javax.ejb.HomeHandle $result; 314 try { 315 java.io.ObjectInput in = call.getInputStream(); 316 $result = (javax.ejb.HomeHandle ) 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 void remove(java.lang.Object $param_Object_1) 337 throws java.rmi.RemoteException , javax.ejb.RemoveException 338 { 339 try { 340 if (useNewInvoke) { 341 ref.invoke(this, $method_remove_7, new java.lang.Object [] {$param_Object_1}, 4460578865329725433L); 342 } else { 343 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 344 try { 345 java.io.ObjectOutput out = call.getOutputStream(); 346 out.writeObject($param_Object_1); 347 } catch (java.io.IOException e) { 348 throw new java.rmi.MarshalException ("error marshalling arguments", e); 349 } 350 ref.invoke(call); 351 ref.done(call); 352 } 353 } catch (java.lang.RuntimeException e) { 354 throw e; 355 } catch (java.rmi.RemoteException e) { 356 throw e; 357 } catch (javax.ejb.RemoveException e) { 358 throw e; 359 } catch (java.lang.Exception e) { 360 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 361 } 362 } 363 364 public void remove(javax.ejb.Handle $param_Handle_1) 366 throws java.rmi.RemoteException , javax.ejb.RemoveException 367 { 368 try { 369 if (useNewInvoke) { 370 ref.invoke(this, $method_remove_8, new java.lang.Object [] {$param_Handle_1}, 1121126102706750000L); 371 } else { 372 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 8, interfaceHash); 373 try { 374 java.io.ObjectOutput out = call.getOutputStream(); 375 out.writeObject($param_Handle_1); 376 } catch (java.io.IOException e) { 377 throw new java.rmi.MarshalException ("error marshalling arguments", e); 378 } 379 ref.invoke(call); 380 ref.done(call); 381 } 382 } catch (java.lang.RuntimeException e) { 383 throw e; 384 } catch (java.rmi.RemoteException e) { 385 throw e; 386 } catch (javax.ejb.RemoveException e) { 387 throw e; 388 } catch (java.lang.Exception e) { 389 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 390 } 391 } 392 } 393 | Popular Tags |