1 4 package hero.interfaces; 5 6 public final class JOnASBnNodePerformerAssign_366038555Home_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnNodePerformerAssignHome, java.rmi.Remote , javax.ejb.EJBHome 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("hero.interfaces.BnNodePerformerAssign create(hero.interfaces.BnNodePerformerAssignValue)"), 12 new java.rmi.server.Operation ("hero.interfaces.BnNodePerformerAssign create(java.lang.String, int, java.lang.String)"), 13 new java.rmi.server.Operation ("java.util.Collection findAll()"), 14 new java.rmi.server.Operation ("hero.interfaces.BnNodePerformerAssign findByPrimaryKey(hero.interfaces.BnNodePerformerAssignPK)"), 15 new java.rmi.server.Operation ("javax.ejb.EJBMetaData getEJBMetaData()"), 16 new java.rmi.server.Operation ("javax.ejb.HomeHandle getHomeHandle()"), 17 new java.rmi.server.Operation ("void remove(java.lang.Object)"), 18 new java.rmi.server.Operation ("void remove(javax.ejb.Handle)") 19 }; 20 21 private static final long interfaceHash = -2484439153666340419L; 22 23 private static final long serialVersionUID = 2; 24 25 private static boolean useNewInvoke; 26 private static java.lang.reflect.Method $method_create_0; 27 private static java.lang.reflect.Method $method_create_1; 28 private static java.lang.reflect.Method $method_findAll_2; 29 private static java.lang.reflect.Method $method_findByPrimaryKey_3; 30 private static java.lang.reflect.Method $method_getEJBMetaData_4; 31 private static java.lang.reflect.Method $method_getHomeHandle_5; 32 private static java.lang.reflect.Method $method_remove_6; 33 private static java.lang.reflect.Method $method_remove_7; 34 35 static { 36 try { 37 java.rmi.server.RemoteRef .class.getMethod("invoke", 38 new java.lang.Class [] { 39 java.rmi.Remote .class, 40 java.lang.reflect.Method .class, 41 java.lang.Object [].class, 42 long.class 43 }); 44 useNewInvoke = true; 45 $method_create_0 = hero.interfaces.BnNodePerformerAssignHome.class.getMethod("create", new java.lang.Class [] {hero.interfaces.BnNodePerformerAssignValue.class}); 46 $method_create_1 = hero.interfaces.BnNodePerformerAssignHome.class.getMethod("create", new java.lang.Class [] {java.lang.String .class, int.class, java.lang.String .class}); 47 $method_findAll_2 = hero.interfaces.BnNodePerformerAssignHome.class.getMethod("findAll", new java.lang.Class [] {}); 48 $method_findByPrimaryKey_3 = hero.interfaces.BnNodePerformerAssignHome.class.getMethod("findByPrimaryKey", new java.lang.Class [] {hero.interfaces.BnNodePerformerAssignPK.class}); 49 $method_getEJBMetaData_4 = javax.ejb.EJBHome .class.getMethod("getEJBMetaData", new java.lang.Class [] {}); 50 $method_getHomeHandle_5 = javax.ejb.EJBHome .class.getMethod("getHomeHandle", new java.lang.Class [] {}); 51 $method_remove_6 = javax.ejb.EJBHome .class.getMethod("remove", new java.lang.Class [] {java.lang.Object .class}); 52 $method_remove_7 = javax.ejb.EJBHome .class.getMethod("remove", new java.lang.Class [] {javax.ejb.Handle .class}); 53 } catch (java.lang.NoSuchMethodException e) { 54 useNewInvoke = false; 55 } 56 } 57 58 public JOnASBnNodePerformerAssign_366038555Home_Stub() { 60 super(); 61 } 62 public JOnASBnNodePerformerAssign_366038555Home_Stub(java.rmi.server.RemoteRef ref) { 63 super(ref); 64 } 65 66 68 public hero.interfaces.BnNodePerformerAssign create(hero.interfaces.BnNodePerformerAssignValue $param_BnNodePerformerAssignValue_1) 70 throws hero.interfaces.InvalidValueException, java.rmi.RemoteException , javax.ejb.CreateException 71 { 72 try { 73 if (useNewInvoke) { 74 Object $result = ref.invoke(this, $method_create_0, new java.lang.Object [] {$param_BnNodePerformerAssignValue_1}, 3681700882712869653L); 75 return ((hero.interfaces.BnNodePerformerAssign) $result); 76 } else { 77 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 78 try { 79 java.io.ObjectOutput out = call.getOutputStream(); 80 out.writeObject($param_BnNodePerformerAssignValue_1); 81 } catch (java.io.IOException e) { 82 throw new java.rmi.MarshalException ("error marshalling arguments", e); 83 } 84 ref.invoke(call); 85 hero.interfaces.BnNodePerformerAssign $result; 86 try { 87 java.io.ObjectInput in = call.getInputStream(); 88 $result = (hero.interfaces.BnNodePerformerAssign) in.readObject(); 89 } catch (java.io.IOException e) { 90 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 91 } catch (java.lang.ClassNotFoundException e) { 92 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 93 } finally { 94 ref.done(call); 95 } 96 return $result; 97 } 98 } catch (java.lang.RuntimeException e) { 99 throw e; 100 } catch (java.rmi.RemoteException e) { 101 throw e; 102 } catch (hero.interfaces.InvalidValueException e) { 103 throw e; 104 } catch (javax.ejb.CreateException e) { 105 throw e; 106 } catch (java.lang.Exception e) { 107 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 108 } 109 } 110 111 public hero.interfaces.BnNodePerformerAssign create(java.lang.String $param_String_1, int $param_int_2, java.lang.String $param_String_3) 113 throws hero.interfaces.InvalidValueException, java.rmi.RemoteException , javax.ejb.CreateException 114 { 115 try { 116 if (useNewInvoke) { 117 Object $result = ref.invoke(this, $method_create_1, new java.lang.Object [] {$param_String_1, new java.lang.Integer ($param_int_2), $param_String_3}, -5530063001713947450L); 118 return ((hero.interfaces.BnNodePerformerAssign) $result); 119 } else { 120 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 1, interfaceHash); 121 try { 122 java.io.ObjectOutput out = call.getOutputStream(); 123 out.writeObject($param_String_1); 124 out.writeInt($param_int_2); 125 out.writeObject($param_String_3); 126 } catch (java.io.IOException e) { 127 throw new java.rmi.MarshalException ("error marshalling arguments", e); 128 } 129 ref.invoke(call); 130 hero.interfaces.BnNodePerformerAssign $result; 131 try { 132 java.io.ObjectInput in = call.getInputStream(); 133 $result = (hero.interfaces.BnNodePerformerAssign) 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 (hero.interfaces.InvalidValueException e) { 148 throw e; 149 } catch (javax.ejb.CreateException e) { 150 throw e; 151 } catch (java.lang.Exception e) { 152 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 153 } 154 } 155 156 public java.util.Collection findAll() 158 throws java.rmi.RemoteException , javax.ejb.FinderException 159 { 160 try { 161 if (useNewInvoke) { 162 Object $result = ref.invoke(this, $method_findAll_2, null, -4609096605735334920L); 163 return ((java.util.Collection ) $result); 164 } else { 165 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 166 ref.invoke(call); 167 java.util.Collection $result; 168 try { 169 java.io.ObjectInput in = call.getInputStream(); 170 $result = (java.util.Collection ) 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 (javax.ejb.FinderException e) { 185 throw e; 186 } catch (java.lang.Exception e) { 187 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 188 } 189 } 190 191 public hero.interfaces.BnNodePerformerAssign findByPrimaryKey(hero.interfaces.BnNodePerformerAssignPK $param_BnNodePerformerAssignPK_1) 193 throws java.rmi.RemoteException , javax.ejb.FinderException 194 { 195 try { 196 if (useNewInvoke) { 197 Object $result = ref.invoke(this, $method_findByPrimaryKey_3, new java.lang.Object [] {$param_BnNodePerformerAssignPK_1}, 3186368077407015686L); 198 return ((hero.interfaces.BnNodePerformerAssign) $result); 199 } else { 200 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 201 try { 202 java.io.ObjectOutput out = call.getOutputStream(); 203 out.writeObject($param_BnNodePerformerAssignPK_1); 204 } catch (java.io.IOException e) { 205 throw new java.rmi.MarshalException ("error marshalling arguments", e); 206 } 207 ref.invoke(call); 208 hero.interfaces.BnNodePerformerAssign $result; 209 try { 210 java.io.ObjectInput in = call.getInputStream(); 211 $result = (hero.interfaces.BnNodePerformerAssign) in.readObject(); 212 } catch (java.io.IOException e) { 213 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 214 } catch (java.lang.ClassNotFoundException e) { 215 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 216 } finally { 217 ref.done(call); 218 } 219 return $result; 220 } 221 } catch (java.lang.RuntimeException e) { 222 throw e; 223 } catch (java.rmi.RemoteException e) { 224 throw e; 225 } catch (javax.ejb.FinderException e) { 226 throw e; 227 } catch (java.lang.Exception e) { 228 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 229 } 230 } 231 232 public javax.ejb.EJBMetaData getEJBMetaData() 234 throws java.rmi.RemoteException 235 { 236 try { 237 if (useNewInvoke) { 238 Object $result = ref.invoke(this, $method_getEJBMetaData_4, null, 6217030353865232067L); 239 return ((javax.ejb.EJBMetaData ) $result); 240 } else { 241 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 242 ref.invoke(call); 243 javax.ejb.EJBMetaData $result; 244 try { 245 java.io.ObjectInput in = call.getInputStream(); 246 $result = (javax.ejb.EJBMetaData ) in.readObject(); 247 } catch (java.io.IOException e) { 248 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 249 } catch (java.lang.ClassNotFoundException e) { 250 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 251 } finally { 252 ref.done(call); 253 } 254 return $result; 255 } 256 } catch (java.lang.RuntimeException e) { 257 throw e; 258 } catch (java.rmi.RemoteException e) { 259 throw e; 260 } catch (java.lang.Exception e) { 261 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 262 } 263 } 264 265 public javax.ejb.HomeHandle getHomeHandle() 267 throws java.rmi.RemoteException 268 { 269 try { 270 if (useNewInvoke) { 271 Object $result = ref.invoke(this, $method_getHomeHandle_5, null, -8748260460775500658L); 272 return ((javax.ejb.HomeHandle ) $result); 273 } else { 274 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 275 ref.invoke(call); 276 javax.ejb.HomeHandle $result; 277 try { 278 java.io.ObjectInput in = call.getInputStream(); 279 $result = (javax.ejb.HomeHandle ) in.readObject(); 280 } catch (java.io.IOException e) { 281 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 282 } catch (java.lang.ClassNotFoundException e) { 283 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 284 } finally { 285 ref.done(call); 286 } 287 return $result; 288 } 289 } catch (java.lang.RuntimeException e) { 290 throw e; 291 } catch (java.rmi.RemoteException e) { 292 throw e; 293 } catch (java.lang.Exception e) { 294 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 295 } 296 } 297 298 public void remove(java.lang.Object $param_Object_1) 300 throws java.rmi.RemoteException , javax.ejb.RemoveException 301 { 302 try { 303 if (useNewInvoke) { 304 ref.invoke(this, $method_remove_6, new java.lang.Object [] {$param_Object_1}, 4460578865329725433L); 305 } else { 306 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 307 try { 308 java.io.ObjectOutput out = call.getOutputStream(); 309 out.writeObject($param_Object_1); 310 } catch (java.io.IOException e) { 311 throw new java.rmi.MarshalException ("error marshalling arguments", e); 312 } 313 ref.invoke(call); 314 ref.done(call); 315 } 316 } catch (java.lang.RuntimeException e) { 317 throw e; 318 } catch (java.rmi.RemoteException e) { 319 throw e; 320 } catch (javax.ejb.RemoveException e) { 321 throw e; 322 } catch (java.lang.Exception e) { 323 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 324 } 325 } 326 327 public void remove(javax.ejb.Handle $param_Handle_1) 329 throws java.rmi.RemoteException , javax.ejb.RemoveException 330 { 331 try { 332 if (useNewInvoke) { 333 ref.invoke(this, $method_remove_7, new java.lang.Object [] {$param_Handle_1}, 1121126102706750000L); 334 } else { 335 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 336 try { 337 java.io.ObjectOutput out = call.getOutputStream(); 338 out.writeObject($param_Handle_1); 339 } catch (java.io.IOException e) { 340 throw new java.rmi.MarshalException ("error marshalling arguments", e); 341 } 342 ref.invoke(call); 343 ref.done(call); 344 } 345 } catch (java.lang.RuntimeException e) { 346 throw e; 347 } catch (java.rmi.RemoteException e) { 348 throw e; 349 } catch (javax.ejb.RemoveException e) { 350 throw e; 351 } catch (java.lang.Exception e) { 352 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 353 } 354 } 355 } 356 | Popular Tags |