KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jotm > TransactionFactoryImpl_Stub


1 // Stub class generated by rmic, do not edit.
2
// Contents subject to change without notice.
3

4 package org.objectweb.jotm;
5
6 public final class TransactionFactoryImpl_Stub
7     extends java.rmi.server.RemoteStub JavaDoc
8     implements org.objectweb.jotm.TransactionFactory
9 {
10     private static final long serialVersionUID = 2;
11     
12     private static java.lang.reflect.Method JavaDoc $method_create_0;
13     private static java.lang.reflect.Method JavaDoc $method_getHostName_1;
14     private static java.lang.reflect.Method JavaDoc $method_getPortNumber_2;
15     private static java.lang.reflect.Method JavaDoc $method_recreate_3;
16     
17     static {
18     try {
19         $method_create_0 = org.objectweb.jotm.TransactionFactory.class.getMethod("create", new java.lang.Class JavaDoc[] {int.class});
20         $method_getHostName_1 = org.objectweb.jotm.TransactionFactory.class.getMethod("getHostName", new java.lang.Class JavaDoc[] {});
21         $method_getPortNumber_2 = org.objectweb.jotm.TransactionFactory.class.getMethod("getPortNumber", new java.lang.Class JavaDoc[] {});
22         $method_recreate_3 = org.objectweb.jotm.TransactionFactory.class.getMethod("recreate", new java.lang.Class JavaDoc[] {org.objectweb.jotm.TransactionContext.class});
23     } catch (java.lang.NoSuchMethodException JavaDoc e) {
24         throw new java.lang.NoSuchMethodError JavaDoc(
25         "stub class initialization failed");
26     }
27     }
28     
29     // constructors
30
public TransactionFactoryImpl_Stub(java.rmi.server.RemoteRef JavaDoc ref) {
31     super(ref);
32     }
33     
34     // methods from remote interfaces
35

36     // implementation of create(int)
37
public org.objectweb.jotm.Control create(int $param_int_1)
38     throws java.rmi.RemoteException JavaDoc
39     {
40     try {
41         Object JavaDoc $result = ref.invoke(this, $method_create_0, new java.lang.Object JavaDoc[] {new java.lang.Integer JavaDoc($param_int_1)}, -8639072135979534687L);
42         return ((org.objectweb.jotm.Control) $result);
43     } catch (java.lang.RuntimeException JavaDoc e) {
44         throw e;
45     } catch (java.rmi.RemoteException JavaDoc e) {
46         throw e;
47     } catch (java.lang.Exception JavaDoc e) {
48         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
49     }
50     }
51     
52     // implementation of getHostName()
53
public java.lang.String JavaDoc getHostName()
54     throws java.rmi.RemoteException JavaDoc
55     {
56     try {
57         Object JavaDoc $result = ref.invoke(this, $method_getHostName_1, null, -8858142821358724604L);
58         return ((java.lang.String JavaDoc) $result);
59     } catch (java.lang.RuntimeException JavaDoc e) {
60         throw e;
61     } catch (java.rmi.RemoteException JavaDoc e) {
62         throw e;
63     } catch (java.lang.Exception JavaDoc e) {
64         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
65     }
66     }
67     
68     // implementation of getPortNumber()
69
public int getPortNumber()
70     throws java.rmi.RemoteException JavaDoc
71     {
72     try {
73         Object JavaDoc $result = ref.invoke(this, $method_getPortNumber_2, null, -720031893440574162L);
74         return ((java.lang.Integer JavaDoc) $result).intValue();
75     } catch (java.lang.RuntimeException JavaDoc e) {
76         throw e;
77     } catch (java.rmi.RemoteException JavaDoc e) {
78         throw e;
79     } catch (java.lang.Exception JavaDoc e) {
80         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
81     }
82     }
83     
84     // implementation of recreate(TransactionContext)
85
public org.objectweb.jotm.Control recreate(org.objectweb.jotm.TransactionContext $param_TransactionContext_1)
86     throws java.rmi.RemoteException JavaDoc
87     {
88     try {
89         Object JavaDoc $result = ref.invoke(this, $method_recreate_3, new java.lang.Object JavaDoc[] {$param_TransactionContext_1}, 7596976805877451179L);
90         return ((org.objectweb.jotm.Control) $result);
91     } catch (java.lang.RuntimeException JavaDoc e) {
92         throw e;
93     } catch (java.rmi.RemoteException JavaDoc e) {
94         throw e;
95     } catch (java.lang.Exception JavaDoc e) {
96         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
97     }
98     }
99 }
100
Popular Tags