1 4 package org.objectweb.jotm; 5 6 public final class TransactionFactoryImpl_Stub 7 extends java.rmi.server.RemoteStub 8 implements org.objectweb.jotm.TransactionFactory 9 { 10 private static final long serialVersionUID = 2; 11 12 private static java.lang.reflect.Method $method_create_0; 13 private static java.lang.reflect.Method $method_getHostName_1; 14 private static java.lang.reflect.Method $method_getPortNumber_2; 15 private static java.lang.reflect.Method $method_recreate_3; 16 17 static { 18 try { 19 $method_create_0 = org.objectweb.jotm.TransactionFactory.class.getMethod("create", new java.lang.Class [] {int.class}); 20 $method_getHostName_1 = org.objectweb.jotm.TransactionFactory.class.getMethod("getHostName", new java.lang.Class [] {}); 21 $method_getPortNumber_2 = org.objectweb.jotm.TransactionFactory.class.getMethod("getPortNumber", new java.lang.Class [] {}); 22 $method_recreate_3 = org.objectweb.jotm.TransactionFactory.class.getMethod("recreate", new java.lang.Class [] {org.objectweb.jotm.TransactionContext.class}); 23 } catch (java.lang.NoSuchMethodException e) { 24 throw new java.lang.NoSuchMethodError ( 25 "stub class initialization failed"); 26 } 27 } 28 29 public TransactionFactoryImpl_Stub(java.rmi.server.RemoteRef ref) { 31 super(ref); 32 } 33 34 36 public org.objectweb.jotm.Control create(int $param_int_1) 38 throws java.rmi.RemoteException 39 { 40 try { 41 Object $result = ref.invoke(this, $method_create_0, new java.lang.Object [] {new java.lang.Integer ($param_int_1)}, -8639072135979534687L); 42 return ((org.objectweb.jotm.Control) $result); 43 } catch (java.lang.RuntimeException e) { 44 throw e; 45 } catch (java.rmi.RemoteException e) { 46 throw e; 47 } catch (java.lang.Exception e) { 48 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 49 } 50 } 51 52 public java.lang.String getHostName() 54 throws java.rmi.RemoteException 55 { 56 try { 57 Object $result = ref.invoke(this, $method_getHostName_1, null, -8858142821358724604L); 58 return ((java.lang.String ) $result); 59 } catch (java.lang.RuntimeException e) { 60 throw e; 61 } catch (java.rmi.RemoteException e) { 62 throw e; 63 } catch (java.lang.Exception e) { 64 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 65 } 66 } 67 68 public int getPortNumber() 70 throws java.rmi.RemoteException 71 { 72 try { 73 Object $result = ref.invoke(this, $method_getPortNumber_2, null, -720031893440574162L); 74 return ((java.lang.Integer ) $result).intValue(); 75 } catch (java.lang.RuntimeException e) { 76 throw e; 77 } catch (java.rmi.RemoteException e) { 78 throw e; 79 } catch (java.lang.Exception e) { 80 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 81 } 82 } 83 84 public org.objectweb.jotm.Control recreate(org.objectweb.jotm.TransactionContext $param_TransactionContext_1) 86 throws java.rmi.RemoteException 87 { 88 try { 89 Object $result = ref.invoke(this, $method_recreate_3, new java.lang.Object [] {$param_TransactionContext_1}, 7596976805877451179L); 90 return ((org.objectweb.jotm.Control) $result); 91 } catch (java.lang.RuntimeException e) { 92 throw e; 93 } catch (java.rmi.RemoteException e) { 94 throw e; 95 } catch (java.lang.Exception e) { 96 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 97 } 98 } 99 } 100 | Popular Tags |