1 4 package hero.interfaces; 5 6 public final class JOnASBnAuthRole317329069Remote_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnAuthRole, java.rmi.Remote , javax.ejb.EJBObject 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("hero.interfaces.BnAuthRoleValue getBnAuthRoleValue()"), 12 new java.rmi.server.Operation ("javax.ejb.EJBHome getEJBHome()"), 13 new java.rmi.server.Operation ("javax.ejb.Handle getHandle()"), 14 new java.rmi.server.Operation ("java.lang.String getName()"), 15 new java.rmi.server.Operation ("java.lang.Object getPrimaryKey()"), 16 new java.rmi.server.Operation ("boolean isIdentical(javax.ejb.EJBObject)"), 17 new java.rmi.server.Operation ("void remove()"), 18 new java.rmi.server.Operation ("void setBnAuthRoleValue(hero.interfaces.BnAuthRoleValue)") 19 }; 20 21 private static final long interfaceHash = -6332739494317977360L; 22 23 private static final long serialVersionUID = 2; 24 25 private static boolean useNewInvoke; 26 private static java.lang.reflect.Method $method_getBnAuthRoleValue_0; 27 private static java.lang.reflect.Method $method_getEJBHome_1; 28 private static java.lang.reflect.Method $method_getHandle_2; 29 private static java.lang.reflect.Method $method_getName_3; 30 private static java.lang.reflect.Method $method_getPrimaryKey_4; 31 private static java.lang.reflect.Method $method_isIdentical_5; 32 private static java.lang.reflect.Method $method_remove_6; 33 private static java.lang.reflect.Method $method_setBnAuthRoleValue_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_getBnAuthRoleValue_0 = hero.interfaces.BnAuthRole.class.getMethod("getBnAuthRoleValue", new java.lang.Class [] {}); 46 $method_getEJBHome_1 = javax.ejb.EJBObject .class.getMethod("getEJBHome", new java.lang.Class [] {}); 47 $method_getHandle_2 = javax.ejb.EJBObject .class.getMethod("getHandle", new java.lang.Class [] {}); 48 $method_getName_3 = hero.interfaces.BnAuthRole.class.getMethod("getName", new java.lang.Class [] {}); 49 $method_getPrimaryKey_4 = javax.ejb.EJBObject .class.getMethod("getPrimaryKey", new java.lang.Class [] {}); 50 $method_isIdentical_5 = javax.ejb.EJBObject .class.getMethod("isIdentical", new java.lang.Class [] {javax.ejb.EJBObject .class}); 51 $method_remove_6 = javax.ejb.EJBObject .class.getMethod("remove", new java.lang.Class [] {}); 52 $method_setBnAuthRoleValue_7 = hero.interfaces.BnAuthRole.class.getMethod("setBnAuthRoleValue", new java.lang.Class [] {hero.interfaces.BnAuthRoleValue.class}); 53 } catch (java.lang.NoSuchMethodException e) { 54 useNewInvoke = false; 55 } 56 } 57 58 public JOnASBnAuthRole317329069Remote_Stub() { 60 super(); 61 } 62 public JOnASBnAuthRole317329069Remote_Stub(java.rmi.server.RemoteRef ref) { 63 super(ref); 64 } 65 66 68 public hero.interfaces.BnAuthRoleValue getBnAuthRoleValue() 70 throws java.rmi.RemoteException 71 { 72 try { 73 if (useNewInvoke) { 74 Object $result = ref.invoke(this, $method_getBnAuthRoleValue_0, null, -2877736519175621111L); 75 return ((hero.interfaces.BnAuthRoleValue) $result); 76 } else { 77 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 78 ref.invoke(call); 79 hero.interfaces.BnAuthRoleValue $result; 80 try { 81 java.io.ObjectInput in = call.getInputStream(); 82 $result = (hero.interfaces.BnAuthRoleValue) in.readObject(); 83 } catch (java.io.IOException e) { 84 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 85 } catch (java.lang.ClassNotFoundException e) { 86 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 87 } finally { 88 ref.done(call); 89 } 90 return $result; 91 } 92 } catch (java.lang.RuntimeException e) { 93 throw e; 94 } catch (java.rmi.RemoteException e) { 95 throw e; 96 } catch (java.lang.Exception e) { 97 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 98 } 99 } 100 101 public javax.ejb.EJBHome getEJBHome() 103 throws java.rmi.RemoteException 104 { 105 try { 106 if (useNewInvoke) { 107 Object $result = ref.invoke(this, $method_getEJBHome_1, null, 3163754803894080547L); 108 return ((javax.ejb.EJBHome ) $result); 109 } else { 110 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 1, interfaceHash); 111 ref.invoke(call); 112 javax.ejb.EJBHome $result; 113 try { 114 java.io.ObjectInput in = call.getInputStream(); 115 $result = (javax.ejb.EJBHome ) in.readObject(); 116 } catch (java.io.IOException e) { 117 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 118 } catch (java.lang.ClassNotFoundException e) { 119 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 120 } finally { 121 ref.done(call); 122 } 123 return $result; 124 } 125 } catch (java.lang.RuntimeException e) { 126 throw e; 127 } catch (java.rmi.RemoteException e) { 128 throw e; 129 } catch (java.lang.Exception e) { 130 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 131 } 132 } 133 134 public javax.ejb.Handle getHandle() 136 throws java.rmi.RemoteException 137 { 138 try { 139 if (useNewInvoke) { 140 Object $result = ref.invoke(this, $method_getHandle_2, null, -1299374689989208114L); 141 return ((javax.ejb.Handle ) $result); 142 } else { 143 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 144 ref.invoke(call); 145 javax.ejb.Handle $result; 146 try { 147 java.io.ObjectInput in = call.getInputStream(); 148 $result = (javax.ejb.Handle ) in.readObject(); 149 } catch (java.io.IOException e) { 150 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 151 } catch (java.lang.ClassNotFoundException e) { 152 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 153 } finally { 154 ref.done(call); 155 } 156 return $result; 157 } 158 } catch (java.lang.RuntimeException e) { 159 throw e; 160 } catch (java.rmi.RemoteException e) { 161 throw e; 162 } catch (java.lang.Exception e) { 163 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 164 } 165 } 166 167 public java.lang.String getName() 169 throws java.rmi.RemoteException 170 { 171 try { 172 if (useNewInvoke) { 173 Object $result = ref.invoke(this, $method_getName_3, null, 6317137956467216454L); 174 return ((java.lang.String ) $result); 175 } else { 176 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 177 ref.invoke(call); 178 java.lang.String $result; 179 try { 180 java.io.ObjectInput in = call.getInputStream(); 181 $result = (java.lang.String ) in.readObject(); 182 } catch (java.io.IOException e) { 183 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 184 } catch (java.lang.ClassNotFoundException e) { 185 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 186 } finally { 187 ref.done(call); 188 } 189 return $result; 190 } 191 } catch (java.lang.RuntimeException e) { 192 throw e; 193 } catch (java.rmi.RemoteException e) { 194 throw e; 195 } catch (java.lang.Exception e) { 196 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 197 } 198 } 199 200 public java.lang.Object getPrimaryKey() 202 throws java.rmi.RemoteException 203 { 204 try { 205 if (useNewInvoke) { 206 Object $result = ref.invoke(this, $method_getPrimaryKey_4, null, 4840115071604865751L); 207 return ((java.lang.Object ) $result); 208 } else { 209 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 210 ref.invoke(call); 211 java.lang.Object $result; 212 try { 213 java.io.ObjectInput in = call.getInputStream(); 214 $result = (java.lang.Object ) in.readObject(); 215 } catch (java.io.IOException e) { 216 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 217 } catch (java.lang.ClassNotFoundException e) { 218 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 219 } finally { 220 ref.done(call); 221 } 222 return $result; 223 } 224 } catch (java.lang.RuntimeException e) { 225 throw e; 226 } catch (java.rmi.RemoteException 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 boolean isIdentical(javax.ejb.EJBObject $param_EJBObject_1) 235 throws java.rmi.RemoteException 236 { 237 try { 238 if (useNewInvoke) { 239 Object $result = ref.invoke(this, $method_isIdentical_5, new java.lang.Object [] {$param_EJBObject_1}, -5909123752501984271L); 240 return ((java.lang.Boolean ) $result).booleanValue(); 241 } else { 242 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 243 try { 244 java.io.ObjectOutput out = call.getOutputStream(); 245 out.writeObject($param_EJBObject_1); 246 } catch (java.io.IOException e) { 247 throw new java.rmi.MarshalException ("error marshalling arguments", e); 248 } 249 ref.invoke(call); 250 boolean $result; 251 try { 252 java.io.ObjectInput in = call.getInputStream(); 253 $result = in.readBoolean(); 254 } catch (java.io.IOException e) { 255 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 256 } finally { 257 ref.done(call); 258 } 259 return $result; 260 } 261 } catch (java.lang.RuntimeException e) { 262 throw e; 263 } catch (java.rmi.RemoteException e) { 264 throw e; 265 } catch (java.lang.Exception e) { 266 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 267 } 268 } 269 270 public void remove() 272 throws java.rmi.RemoteException , javax.ejb.RemoveException 273 { 274 try { 275 if (useNewInvoke) { 276 ref.invoke(this, $method_remove_6, null, -5013858639939630501L); 277 } else { 278 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 279 ref.invoke(call); 280 ref.done(call); 281 } 282 } catch (java.lang.RuntimeException e) { 283 throw e; 284 } catch (java.rmi.RemoteException e) { 285 throw e; 286 } catch (javax.ejb.RemoveException e) { 287 throw e; 288 } catch (java.lang.Exception e) { 289 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 290 } 291 } 292 293 public void setBnAuthRoleValue(hero.interfaces.BnAuthRoleValue $param_BnAuthRoleValue_1) 295 throws java.rmi.RemoteException 296 { 297 try { 298 if (useNewInvoke) { 299 ref.invoke(this, $method_setBnAuthRoleValue_7, new java.lang.Object [] {$param_BnAuthRoleValue_1}, 6206454496964013724L); 300 } else { 301 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 302 try { 303 java.io.ObjectOutput out = call.getOutputStream(); 304 out.writeObject($param_BnAuthRoleValue_1); 305 } catch (java.io.IOException e) { 306 throw new java.rmi.MarshalException ("error marshalling arguments", e); 307 } 308 ref.invoke(call); 309 ref.done(call); 310 } 311 } catch (java.lang.RuntimeException e) { 312 throw e; 313 } catch (java.rmi.RemoteException e) { 314 throw e; 315 } catch (java.lang.Exception e) { 316 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 317 } 318 } 319 } 320 | Popular Tags |