1 4 package hero.interfaces; 5 6 public final class JOnASBnNodeInterHook175365609Home_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnNodeInterHookHome, java.rmi.Remote , javax.ejb.EJBHome 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("hero.interfaces.BnNodeInterHook create(hero.interfaces.BnNodeInterHookValue)"), 12 new java.rmi.server.Operation ("hero.interfaces.BnNodeInterHook create(java.lang.String, 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.BnNodeInterHook findByPrimaryKey(hero.interfaces.BnNodeInterHookPK)"), 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 = -133330440898684670L; 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.BnNodeInterHookHome.class.getMethod("create", new java.lang.Class [] {hero.interfaces.BnNodeInterHookValue.class}); 46 $method_create_1 = hero.interfaces.BnNodeInterHookHome.class.getMethod("create", new java.lang.Class [] {java.lang.String .class, java.lang.String .class, int.class, java.lang.String .class}); 47 $method_findAll_2 = hero.interfaces.BnNodeInterHookHome.class.getMethod("findAll", new java.lang.Class [] {}); 48 $method_findByPrimaryKey_3 = hero.interfaces.BnNodeInterHookHome.class.getMethod("findByPrimaryKey", new java.lang.Class [] {hero.interfaces.BnNodeInterHookPK.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 JOnASBnNodeInterHook175365609Home_Stub() { 60 super(); 61 } 62 public JOnASBnNodeInterHook175365609Home_Stub(java.rmi.server.RemoteRef ref) { 63 super(ref); 64 } 65 66 68 public hero.interfaces.BnNodeInterHook create(hero.interfaces.BnNodeInterHookValue $param_BnNodeInterHookValue_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_BnNodeInterHookValue_1}, -6654606969551630426L); 75 return ((hero.interfaces.BnNodeInterHook) $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_BnNodeInterHookValue_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.BnNodeInterHook $result; 86 try { 87 java.io.ObjectInput in = call.getInputStream(); 88 $result = (hero.interfaces.BnNodeInterHook) 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.BnNodeInterHook create(java.lang.String $param_String_1, java.lang.String $param_String_2, int $param_int_3, java.lang.String $param_String_4) 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, $param_String_2, new java.lang.Integer ($param_int_3), $param_String_4}, -5187171700280344350L); 118 return ((hero.interfaces.BnNodeInterHook) $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.writeObject($param_String_2); 125 out.writeInt($param_int_3); 126 out.writeObject($param_String_4); 127 } catch (java.io.IOException e) { 128 throw new java.rmi.MarshalException ("error marshalling arguments", e); 129 } 130 ref.invoke(call); 131 hero.interfaces.BnNodeInterHook $result; 132 try { 133 java.io.ObjectInput in = call.getInputStream(); 134 $result = (hero.interfaces.BnNodeInterHook) in.readObject(); 135 } catch (java.io.IOException e) { 136 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 137 } catch (java.lang.ClassNotFoundException e) { 138 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 139 } finally { 140 ref.done(call); 141 } 142 return $result; 143 } 144 } catch (java.lang.RuntimeException e) { 145 throw e; 146 } catch (java.rmi.RemoteException e) { 147 throw e; 148 } catch (hero.interfaces.InvalidValueException e) { 149 throw e; 150 } catch (javax.ejb.CreateException e) { 151 throw e; 152 } catch (java.lang.Exception e) { 153 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 154 } 155 } 156 157 public java.util.Collection findAll() 159 throws java.rmi.RemoteException , javax.ejb.FinderException 160 { 161 try { 162 if (useNewInvoke) { 163 Object $result = ref.invoke(this, $method_findAll_2, null, -4609096605735334920L); 164 return ((java.util.Collection ) $result); 165 } else { 166 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 167 ref.invoke(call); 168 java.util.Collection $result; 169 try { 170 java.io.ObjectInput in = call.getInputStream(); 171 $result = (java.util.Collection ) in.readObject(); 172 } catch (java.io.IOException e) { 173 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 174 } catch (java.lang.ClassNotFoundException e) { 175 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 176 } finally { 177 ref.done(call); 178 } 179 return $result; 180 } 181 } catch (java.lang.RuntimeException e) { 182 throw e; 183 } catch (java.rmi.RemoteException e) { 184 throw e; 185 } catch (javax.ejb.FinderException e) { 186 throw e; 187 } catch (java.lang.Exception e) { 188 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 189 } 190 } 191 192 public hero.interfaces.BnNodeInterHook findByPrimaryKey(hero.interfaces.BnNodeInterHookPK $param_BnNodeInterHookPK_1) 194 throws java.rmi.RemoteException , javax.ejb.FinderException 195 { 196 try { 197 if (useNewInvoke) { 198 Object $result = ref.invoke(this, $method_findByPrimaryKey_3, new java.lang.Object [] {$param_BnNodeInterHookPK_1}, 6811799462373271551L); 199 return ((hero.interfaces.BnNodeInterHook) $result); 200 } else { 201 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 202 try { 203 java.io.ObjectOutput out = call.getOutputStream(); 204 out.writeObject($param_BnNodeInterHookPK_1); 205 } catch (java.io.IOException e) { 206 throw new java.rmi.MarshalException ("error marshalling arguments", e); 207 } 208 ref.invoke(call); 209 hero.interfaces.BnNodeInterHook $result; 210 try { 211 java.io.ObjectInput in = call.getInputStream(); 212 $result = (hero.interfaces.BnNodeInterHook) in.readObject(); 213 } catch (java.io.IOException e) { 214 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 215 } catch (java.lang.ClassNotFoundException e) { 216 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 217 } finally { 218 ref.done(call); 219 } 220 return $result; 221 } 222 } catch (java.lang.RuntimeException e) { 223 throw e; 224 } catch (java.rmi.RemoteException e) { 225 throw e; 226 } catch (javax.ejb.FinderException e) { 227 throw e; 228 } catch (java.lang.Exception e) { 229 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 230 } 231 } 232 233 public javax.ejb.EJBMetaData getEJBMetaData() 235 throws java.rmi.RemoteException 236 { 237 try { 238 if (useNewInvoke) { 239 Object $result = ref.invoke(this, $method_getEJBMetaData_4, null, 6217030353865232067L); 240 return ((javax.ejb.EJBMetaData ) $result); 241 } else { 242 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 243 ref.invoke(call); 244 javax.ejb.EJBMetaData $result; 245 try { 246 java.io.ObjectInput in = call.getInputStream(); 247 $result = (javax.ejb.EJBMetaData ) in.readObject(); 248 } catch (java.io.IOException e) { 249 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 250 } catch (java.lang.ClassNotFoundException e) { 251 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 252 } finally { 253 ref.done(call); 254 } 255 return $result; 256 } 257 } catch (java.lang.RuntimeException e) { 258 throw e; 259 } catch (java.rmi.RemoteException e) { 260 throw e; 261 } catch (java.lang.Exception e) { 262 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 263 } 264 } 265 266 public javax.ejb.HomeHandle getHomeHandle() 268 throws java.rmi.RemoteException 269 { 270 try { 271 if (useNewInvoke) { 272 Object $result = ref.invoke(this, $method_getHomeHandle_5, null, -8748260460775500658L); 273 return ((javax.ejb.HomeHandle ) $result); 274 } else { 275 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 276 ref.invoke(call); 277 javax.ejb.HomeHandle $result; 278 try { 279 java.io.ObjectInput in = call.getInputStream(); 280 $result = (javax.ejb.HomeHandle ) in.readObject(); 281 } catch (java.io.IOException e) { 282 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 283 } catch (java.lang.ClassNotFoundException e) { 284 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 285 } finally { 286 ref.done(call); 287 } 288 return $result; 289 } 290 } catch (java.lang.RuntimeException e) { 291 throw e; 292 } catch (java.rmi.RemoteException e) { 293 throw e; 294 } catch (java.lang.Exception e) { 295 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 296 } 297 } 298 299 public void remove(java.lang.Object $param_Object_1) 301 throws java.rmi.RemoteException , javax.ejb.RemoveException 302 { 303 try { 304 if (useNewInvoke) { 305 ref.invoke(this, $method_remove_6, new java.lang.Object [] {$param_Object_1}, 4460578865329725433L); 306 } else { 307 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 308 try { 309 java.io.ObjectOutput out = call.getOutputStream(); 310 out.writeObject($param_Object_1); 311 } catch (java.io.IOException e) { 312 throw new java.rmi.MarshalException ("error marshalling arguments", e); 313 } 314 ref.invoke(call); 315 ref.done(call); 316 } 317 } catch (java.lang.RuntimeException e) { 318 throw e; 319 } catch (java.rmi.RemoteException e) { 320 throw e; 321 } catch (javax.ejb.RemoveException e) { 322 throw e; 323 } catch (java.lang.Exception e) { 324 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 325 } 326 } 327 328 public void remove(javax.ejb.Handle $param_Handle_1) 330 throws java.rmi.RemoteException , javax.ejb.RemoveException 331 { 332 try { 333 if (useNewInvoke) { 334 ref.invoke(this, $method_remove_7, new java.lang.Object [] {$param_Handle_1}, 1121126102706750000L); 335 } else { 336 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 337 try { 338 java.io.ObjectOutput out = call.getOutputStream(); 339 out.writeObject($param_Handle_1); 340 } catch (java.io.IOException e) { 341 throw new java.rmi.MarshalException ("error marshalling arguments", e); 342 } 343 ref.invoke(call); 344 ref.done(call); 345 } 346 } catch (java.lang.RuntimeException e) { 347 throw e; 348 } catch (java.rmi.RemoteException e) { 349 throw e; 350 } catch (javax.ejb.RemoveException e) { 351 throw e; 352 } catch (java.lang.Exception e) { 353 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 354 } 355 } 356 } 357 | Popular Tags |