1 4 package hero.interfaces; 5 6 public final class JOnASBnAgentEdge485421875Remote_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnAgentEdge, java.rmi.Remote , javax.ejb.EJBObject 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("hero.interfaces.BnAgentEdgeValue getBnAgentEdgeValue()"), 12 new java.rmi.server.Operation ("java.util.Date getCreationDate()"), 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.String getName()"), 16 new java.rmi.server.Operation ("java.lang.Object getPrimaryKey()"), 17 new java.rmi.server.Operation ("boolean isIdentical(javax.ejb.EJBObject)"), 18 new java.rmi.server.Operation ("void remove()"), 19 new java.rmi.server.Operation ("void setBnAgentEdgeValue(hero.interfaces.BnAgentEdgeValue)"), 20 new java.rmi.server.Operation ("void setCreationDate(java.util.Date)") 21 }; 22 23 private static final long interfaceHash = 184488929605790399L; 24 25 private static final long serialVersionUID = 2; 26 27 private static boolean useNewInvoke; 28 private static java.lang.reflect.Method $method_getBnAgentEdgeValue_0; 29 private static java.lang.reflect.Method $method_getCreationDate_1; 30 private static java.lang.reflect.Method $method_getEJBHome_2; 31 private static java.lang.reflect.Method $method_getHandle_3; 32 private static java.lang.reflect.Method $method_getName_4; 33 private static java.lang.reflect.Method $method_getPrimaryKey_5; 34 private static java.lang.reflect.Method $method_isIdentical_6; 35 private static java.lang.reflect.Method $method_remove_7; 36 private static java.lang.reflect.Method $method_setBnAgentEdgeValue_8; 37 private static java.lang.reflect.Method $method_setCreationDate_9; 38 39 static { 40 try { 41 java.rmi.server.RemoteRef .class.getMethod("invoke", 42 new java.lang.Class [] { 43 java.rmi.Remote .class, 44 java.lang.reflect.Method .class, 45 java.lang.Object [].class, 46 long.class 47 }); 48 useNewInvoke = true; 49 $method_getBnAgentEdgeValue_0 = hero.interfaces.BnAgentEdge.class.getMethod("getBnAgentEdgeValue", new java.lang.Class [] {}); 50 $method_getCreationDate_1 = hero.interfaces.BnAgentEdge.class.getMethod("getCreationDate", new java.lang.Class [] {}); 51 $method_getEJBHome_2 = javax.ejb.EJBObject .class.getMethod("getEJBHome", new java.lang.Class [] {}); 52 $method_getHandle_3 = javax.ejb.EJBObject .class.getMethod("getHandle", new java.lang.Class [] {}); 53 $method_getName_4 = hero.interfaces.BnAgentEdge.class.getMethod("getName", new java.lang.Class [] {}); 54 $method_getPrimaryKey_5 = javax.ejb.EJBObject .class.getMethod("getPrimaryKey", new java.lang.Class [] {}); 55 $method_isIdentical_6 = javax.ejb.EJBObject .class.getMethod("isIdentical", new java.lang.Class [] {javax.ejb.EJBObject .class}); 56 $method_remove_7 = javax.ejb.EJBObject .class.getMethod("remove", new java.lang.Class [] {}); 57 $method_setBnAgentEdgeValue_8 = hero.interfaces.BnAgentEdge.class.getMethod("setBnAgentEdgeValue", new java.lang.Class [] {hero.interfaces.BnAgentEdgeValue.class}); 58 $method_setCreationDate_9 = hero.interfaces.BnAgentEdge.class.getMethod("setCreationDate", new java.lang.Class [] {java.util.Date .class}); 59 } catch (java.lang.NoSuchMethodException e) { 60 useNewInvoke = false; 61 } 62 } 63 64 public JOnASBnAgentEdge485421875Remote_Stub() { 66 super(); 67 } 68 public JOnASBnAgentEdge485421875Remote_Stub(java.rmi.server.RemoteRef ref) { 69 super(ref); 70 } 71 72 74 public hero.interfaces.BnAgentEdgeValue getBnAgentEdgeValue() 76 throws java.rmi.RemoteException 77 { 78 try { 79 if (useNewInvoke) { 80 Object $result = ref.invoke(this, $method_getBnAgentEdgeValue_0, null, 1203150632348226002L); 81 return ((hero.interfaces.BnAgentEdgeValue) $result); 82 } else { 83 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 84 ref.invoke(call); 85 hero.interfaces.BnAgentEdgeValue $result; 86 try { 87 java.io.ObjectInput in = call.getInputStream(); 88 $result = (hero.interfaces.BnAgentEdgeValue) 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 (java.lang.Exception e) { 103 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 104 } 105 } 106 107 public java.util.Date getCreationDate() 109 throws java.rmi.RemoteException 110 { 111 try { 112 if (useNewInvoke) { 113 Object $result = ref.invoke(this, $method_getCreationDate_1, null, -6411676599512905306L); 114 return ((java.util.Date ) $result); 115 } else { 116 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 1, interfaceHash); 117 ref.invoke(call); 118 java.util.Date $result; 119 try { 120 java.io.ObjectInput in = call.getInputStream(); 121 $result = (java.util.Date ) in.readObject(); 122 } catch (java.io.IOException e) { 123 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 124 } catch (java.lang.ClassNotFoundException e) { 125 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 126 } finally { 127 ref.done(call); 128 } 129 return $result; 130 } 131 } catch (java.lang.RuntimeException e) { 132 throw e; 133 } catch (java.rmi.RemoteException e) { 134 throw e; 135 } catch (java.lang.Exception e) { 136 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 137 } 138 } 139 140 public javax.ejb.EJBHome getEJBHome() 142 throws java.rmi.RemoteException 143 { 144 try { 145 if (useNewInvoke) { 146 Object $result = ref.invoke(this, $method_getEJBHome_2, null, 3163754803894080547L); 147 return ((javax.ejb.EJBHome ) $result); 148 } else { 149 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 150 ref.invoke(call); 151 javax.ejb.EJBHome $result; 152 try { 153 java.io.ObjectInput in = call.getInputStream(); 154 $result = (javax.ejb.EJBHome ) in.readObject(); 155 } catch (java.io.IOException e) { 156 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 157 } catch (java.lang.ClassNotFoundException e) { 158 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 159 } finally { 160 ref.done(call); 161 } 162 return $result; 163 } 164 } catch (java.lang.RuntimeException e) { 165 throw e; 166 } catch (java.rmi.RemoteException e) { 167 throw e; 168 } catch (java.lang.Exception e) { 169 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 170 } 171 } 172 173 public javax.ejb.Handle getHandle() 175 throws java.rmi.RemoteException 176 { 177 try { 178 if (useNewInvoke) { 179 Object $result = ref.invoke(this, $method_getHandle_3, null, -1299374689989208114L); 180 return ((javax.ejb.Handle ) $result); 181 } else { 182 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 183 ref.invoke(call); 184 javax.ejb.Handle $result; 185 try { 186 java.io.ObjectInput in = call.getInputStream(); 187 $result = (javax.ejb.Handle ) in.readObject(); 188 } catch (java.io.IOException e) { 189 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 190 } catch (java.lang.ClassNotFoundException e) { 191 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 192 } finally { 193 ref.done(call); 194 } 195 return $result; 196 } 197 } catch (java.lang.RuntimeException e) { 198 throw e; 199 } catch (java.rmi.RemoteException e) { 200 throw e; 201 } catch (java.lang.Exception e) { 202 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 203 } 204 } 205 206 public java.lang.String getName() 208 throws java.rmi.RemoteException 209 { 210 try { 211 if (useNewInvoke) { 212 Object $result = ref.invoke(this, $method_getName_4, null, 6317137956467216454L); 213 return ((java.lang.String ) $result); 214 } else { 215 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 216 ref.invoke(call); 217 java.lang.String $result; 218 try { 219 java.io.ObjectInput in = call.getInputStream(); 220 $result = (java.lang.String ) in.readObject(); 221 } catch (java.io.IOException e) { 222 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 223 } catch (java.lang.ClassNotFoundException e) { 224 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 225 } finally { 226 ref.done(call); 227 } 228 return $result; 229 } 230 } catch (java.lang.RuntimeException e) { 231 throw e; 232 } catch (java.rmi.RemoteException e) { 233 throw e; 234 } catch (java.lang.Exception e) { 235 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 236 } 237 } 238 239 public java.lang.Object getPrimaryKey() 241 throws java.rmi.RemoteException 242 { 243 try { 244 if (useNewInvoke) { 245 Object $result = ref.invoke(this, $method_getPrimaryKey_5, null, 4840115071604865751L); 246 return ((java.lang.Object ) $result); 247 } else { 248 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 249 ref.invoke(call); 250 java.lang.Object $result; 251 try { 252 java.io.ObjectInput in = call.getInputStream(); 253 $result = (java.lang.Object ) in.readObject(); 254 } catch (java.io.IOException e) { 255 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 256 } catch (java.lang.ClassNotFoundException e) { 257 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 258 } finally { 259 ref.done(call); 260 } 261 return $result; 262 } 263 } catch (java.lang.RuntimeException e) { 264 throw e; 265 } catch (java.rmi.RemoteException e) { 266 throw e; 267 } catch (java.lang.Exception e) { 268 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 269 } 270 } 271 272 public boolean isIdentical(javax.ejb.EJBObject $param_EJBObject_1) 274 throws java.rmi.RemoteException 275 { 276 try { 277 if (useNewInvoke) { 278 Object $result = ref.invoke(this, $method_isIdentical_6, new java.lang.Object [] {$param_EJBObject_1}, -5909123752501984271L); 279 return ((java.lang.Boolean ) $result).booleanValue(); 280 } else { 281 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 282 try { 283 java.io.ObjectOutput out = call.getOutputStream(); 284 out.writeObject($param_EJBObject_1); 285 } catch (java.io.IOException e) { 286 throw new java.rmi.MarshalException ("error marshalling arguments", e); 287 } 288 ref.invoke(call); 289 boolean $result; 290 try { 291 java.io.ObjectInput in = call.getInputStream(); 292 $result = in.readBoolean(); 293 } catch (java.io.IOException e) { 294 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 295 } finally { 296 ref.done(call); 297 } 298 return $result; 299 } 300 } catch (java.lang.RuntimeException e) { 301 throw e; 302 } catch (java.rmi.RemoteException e) { 303 throw e; 304 } catch (java.lang.Exception e) { 305 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 306 } 307 } 308 309 public void remove() 311 throws java.rmi.RemoteException , javax.ejb.RemoveException 312 { 313 try { 314 if (useNewInvoke) { 315 ref.invoke(this, $method_remove_7, null, -5013858639939630501L); 316 } else { 317 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 318 ref.invoke(call); 319 ref.done(call); 320 } 321 } catch (java.lang.RuntimeException e) { 322 throw e; 323 } catch (java.rmi.RemoteException e) { 324 throw e; 325 } catch (javax.ejb.RemoveException e) { 326 throw e; 327 } catch (java.lang.Exception e) { 328 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 329 } 330 } 331 332 public void setBnAgentEdgeValue(hero.interfaces.BnAgentEdgeValue $param_BnAgentEdgeValue_1) 334 throws java.rmi.RemoteException 335 { 336 try { 337 if (useNewInvoke) { 338 ref.invoke(this, $method_setBnAgentEdgeValue_8, new java.lang.Object [] {$param_BnAgentEdgeValue_1}, 2212068840241905995L); 339 } else { 340 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 8, interfaceHash); 341 try { 342 java.io.ObjectOutput out = call.getOutputStream(); 343 out.writeObject($param_BnAgentEdgeValue_1); 344 } catch (java.io.IOException e) { 345 throw new java.rmi.MarshalException ("error marshalling arguments", e); 346 } 347 ref.invoke(call); 348 ref.done(call); 349 } 350 } catch (java.lang.RuntimeException e) { 351 throw e; 352 } catch (java.rmi.RemoteException e) { 353 throw e; 354 } catch (java.lang.Exception e) { 355 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 356 } 357 } 358 359 public void setCreationDate(java.util.Date $param_Date_1) 361 throws java.rmi.RemoteException 362 { 363 try { 364 if (useNewInvoke) { 365 ref.invoke(this, $method_setCreationDate_9, new java.lang.Object [] {$param_Date_1}, -8110585494477293117L); 366 } else { 367 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 9, interfaceHash); 368 try { 369 java.io.ObjectOutput out = call.getOutputStream(); 370 out.writeObject($param_Date_1); 371 } catch (java.io.IOException e) { 372 throw new java.rmi.MarshalException ("error marshalling arguments", e); 373 } 374 ref.invoke(call); 375 ref.done(call); 376 } 377 } catch (java.lang.RuntimeException e) { 378 throw e; 379 } catch (java.rmi.RemoteException e) { 380 throw e; 381 } catch (java.lang.Exception e) { 382 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 383 } 384 } 385 } 386 | Popular Tags |