1 4 package hero.interfaces; 5 6 public final class JOnASInsertAuthRoleUser_1576450899Remote_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.InsertAuthRoleUser, java.rmi.Remote , javax.ejb.EJBObject 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("javax.ejb.EJBHome getEJBHome()"), 12 new java.rmi.server.Operation ("javax.ejb.Handle getHandle()"), 13 new java.rmi.server.Operation ("java.lang.Object getPrimaryKey()"), 14 new java.rmi.server.Operation ("void initialize(java.lang.String, java.lang.String)"), 15 new java.rmi.server.Operation ("void initializeAuthRole(java.lang.String, java.lang.String)"), 16 new java.rmi.server.Operation ("void initializeUser(java.lang.String, java.lang.String, java.lang.String)"), 17 new java.rmi.server.Operation ("boolean isIdentical(javax.ejb.EJBObject)"), 18 new java.rmi.server.Operation ("void remove()") 19 }; 20 21 private static final long interfaceHash = -3895339871699418586L; 22 23 private static final long serialVersionUID = 2; 24 25 private static boolean useNewInvoke; 26 private static java.lang.reflect.Method $method_getEJBHome_0; 27 private static java.lang.reflect.Method $method_getHandle_1; 28 private static java.lang.reflect.Method $method_getPrimaryKey_2; 29 private static java.lang.reflect.Method $method_initialize_3; 30 private static java.lang.reflect.Method $method_initializeAuthRole_4; 31 private static java.lang.reflect.Method $method_initializeUser_5; 32 private static java.lang.reflect.Method $method_isIdentical_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_getEJBHome_0 = javax.ejb.EJBObject .class.getMethod("getEJBHome", new java.lang.Class [] {}); 46 $method_getHandle_1 = javax.ejb.EJBObject .class.getMethod("getHandle", new java.lang.Class [] {}); 47 $method_getPrimaryKey_2 = javax.ejb.EJBObject .class.getMethod("getPrimaryKey", new java.lang.Class [] {}); 48 $method_initialize_3 = hero.interfaces.InsertAuthRoleUser.class.getMethod("initialize", new java.lang.Class [] {java.lang.String .class, java.lang.String .class}); 49 $method_initializeAuthRole_4 = hero.interfaces.InsertAuthRoleUser.class.getMethod("initializeAuthRole", new java.lang.Class [] {java.lang.String .class, java.lang.String .class}); 50 $method_initializeUser_5 = hero.interfaces.InsertAuthRoleUser.class.getMethod("initializeUser", new java.lang.Class [] {java.lang.String .class, java.lang.String .class, java.lang.String .class}); 51 $method_isIdentical_6 = javax.ejb.EJBObject .class.getMethod("isIdentical", new java.lang.Class [] {javax.ejb.EJBObject .class}); 52 $method_remove_7 = javax.ejb.EJBObject .class.getMethod("remove", new java.lang.Class [] {}); 53 } catch (java.lang.NoSuchMethodException e) { 54 useNewInvoke = false; 55 } 56 } 57 58 public JOnASInsertAuthRoleUser_1576450899Remote_Stub() { 60 super(); 61 } 62 public JOnASInsertAuthRoleUser_1576450899Remote_Stub(java.rmi.server.RemoteRef ref) { 63 super(ref); 64 } 65 66 68 public javax.ejb.EJBHome getEJBHome() 70 throws java.rmi.RemoteException 71 { 72 try { 73 if (useNewInvoke) { 74 Object $result = ref.invoke(this, $method_getEJBHome_0, null, 3163754803894080547L); 75 return ((javax.ejb.EJBHome ) $result); 76 } else { 77 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 78 ref.invoke(call); 79 javax.ejb.EJBHome $result; 80 try { 81 java.io.ObjectInput in = call.getInputStream(); 82 $result = (javax.ejb.EJBHome ) 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.Handle getHandle() 103 throws java.rmi.RemoteException 104 { 105 try { 106 if (useNewInvoke) { 107 Object $result = ref.invoke(this, $method_getHandle_1, null, -1299374689989208114L); 108 return ((javax.ejb.Handle ) $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.Handle $result; 113 try { 114 java.io.ObjectInput in = call.getInputStream(); 115 $result = (javax.ejb.Handle ) 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 java.lang.Object getPrimaryKey() 136 throws java.rmi.RemoteException 137 { 138 try { 139 if (useNewInvoke) { 140 Object $result = ref.invoke(this, $method_getPrimaryKey_2, null, 4840115071604865751L); 141 return ((java.lang.Object ) $result); 142 } else { 143 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 144 ref.invoke(call); 145 java.lang.Object $result; 146 try { 147 java.io.ObjectInput in = call.getInputStream(); 148 $result = (java.lang.Object ) 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 void initialize(java.lang.String $param_String_1, java.lang.String $param_String_2) 169 throws java.rmi.RemoteException 170 { 171 try { 172 if (useNewInvoke) { 173 ref.invoke(this, $method_initialize_3, new java.lang.Object [] {$param_String_1, $param_String_2}, -2017773378903955572L); 174 } else { 175 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 176 try { 177 java.io.ObjectOutput out = call.getOutputStream(); 178 out.writeObject($param_String_1); 179 out.writeObject($param_String_2); 180 } catch (java.io.IOException e) { 181 throw new java.rmi.MarshalException ("error marshalling arguments", e); 182 } 183 ref.invoke(call); 184 ref.done(call); 185 } 186 } catch (java.lang.RuntimeException e) { 187 throw e; 188 } catch (java.rmi.RemoteException e) { 189 throw e; 190 } catch (java.lang.Exception e) { 191 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 192 } 193 } 194 195 public void initializeAuthRole(java.lang.String $param_String_1, java.lang.String $param_String_2) 197 throws java.rmi.RemoteException 198 { 199 try { 200 if (useNewInvoke) { 201 ref.invoke(this, $method_initializeAuthRole_4, new java.lang.Object [] {$param_String_1, $param_String_2}, 4015391025426260002L); 202 } else { 203 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 204 try { 205 java.io.ObjectOutput out = call.getOutputStream(); 206 out.writeObject($param_String_1); 207 out.writeObject($param_String_2); 208 } catch (java.io.IOException e) { 209 throw new java.rmi.MarshalException ("error marshalling arguments", e); 210 } 211 ref.invoke(call); 212 ref.done(call); 213 } 214 } catch (java.lang.RuntimeException e) { 215 throw e; 216 } catch (java.rmi.RemoteException e) { 217 throw e; 218 } catch (java.lang.Exception e) { 219 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 220 } 221 } 222 223 public void initializeUser(java.lang.String $param_String_1, java.lang.String $param_String_2, java.lang.String $param_String_3) 225 throws java.rmi.RemoteException 226 { 227 try { 228 if (useNewInvoke) { 229 ref.invoke(this, $method_initializeUser_5, new java.lang.Object [] {$param_String_1, $param_String_2, $param_String_3}, 3398727969885706523L); 230 } else { 231 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 232 try { 233 java.io.ObjectOutput out = call.getOutputStream(); 234 out.writeObject($param_String_1); 235 out.writeObject($param_String_2); 236 out.writeObject($param_String_3); 237 } catch (java.io.IOException e) { 238 throw new java.rmi.MarshalException ("error marshalling arguments", e); 239 } 240 ref.invoke(call); 241 ref.done(call); 242 } 243 } catch (java.lang.RuntimeException e) { 244 throw e; 245 } catch (java.rmi.RemoteException e) { 246 throw e; 247 } catch (java.lang.Exception e) { 248 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 249 } 250 } 251 252 public boolean isIdentical(javax.ejb.EJBObject $param_EJBObject_1) 254 throws java.rmi.RemoteException 255 { 256 try { 257 if (useNewInvoke) { 258 Object $result = ref.invoke(this, $method_isIdentical_6, new java.lang.Object [] {$param_EJBObject_1}, -5909123752501984271L); 259 return ((java.lang.Boolean ) $result).booleanValue(); 260 } else { 261 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 262 try { 263 java.io.ObjectOutput out = call.getOutputStream(); 264 out.writeObject($param_EJBObject_1); 265 } catch (java.io.IOException e) { 266 throw new java.rmi.MarshalException ("error marshalling arguments", e); 267 } 268 ref.invoke(call); 269 boolean $result; 270 try { 271 java.io.ObjectInput in = call.getInputStream(); 272 $result = in.readBoolean(); 273 } catch (java.io.IOException e) { 274 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 275 } finally { 276 ref.done(call); 277 } 278 return $result; 279 } 280 } catch (java.lang.RuntimeException e) { 281 throw e; 282 } catch (java.rmi.RemoteException e) { 283 throw e; 284 } catch (java.lang.Exception e) { 285 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 286 } 287 } 288 289 public void remove() 291 throws java.rmi.RemoteException , javax.ejb.RemoveException 292 { 293 try { 294 if (useNewInvoke) { 295 ref.invoke(this, $method_remove_7, null, -5013858639939630501L); 296 } else { 297 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 298 ref.invoke(call); 299 ref.done(call); 300 } 301 } catch (java.lang.RuntimeException e) { 302 throw e; 303 } catch (java.rmi.RemoteException e) { 304 throw e; 305 } catch (javax.ejb.RemoveException e) { 306 throw e; 307 } catch (java.lang.Exception e) { 308 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 309 } 310 } 311 } 312 | Popular Tags |