KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > management > remote > rmi > RMIServerImpl_Stub


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

4 package javax.management.remote.rmi;
5
6 public final class RMIServerImpl_Stub
7     extends java.rmi.server.RemoteStub JavaDoc
8     implements javax.management.remote.rmi.RMIServer JavaDoc
9 {
10     private static final long serialVersionUID = 2;
11     
12     private static java.lang.reflect.Method JavaDoc $method_getVersion_0;
13     private static java.lang.reflect.Method JavaDoc $method_newClient_1;
14     
15     static {
16     try {
17         $method_getVersion_0 = javax.management.remote.rmi.RMIServer JavaDoc.class.getMethod("getVersion", new java.lang.Class JavaDoc[] {});
18         $method_newClient_1 = javax.management.remote.rmi.RMIServer JavaDoc.class.getMethod("newClient", new java.lang.Class JavaDoc[] {java.lang.Object JavaDoc.class});
19     } catch (java.lang.NoSuchMethodException JavaDoc e) {
20         throw new java.lang.NoSuchMethodError JavaDoc(
21         "stub class initialization failed");
22     }
23     }
24     
25     // constructors
26
public RMIServerImpl_Stub(java.rmi.server.RemoteRef JavaDoc ref) {
27     super(ref);
28     }
29     
30     // methods from remote interfaces
31

32     // implementation of getVersion()
33
public java.lang.String JavaDoc getVersion()
34     throws java.rmi.RemoteException JavaDoc
35     {
36     try {
37         Object JavaDoc $result = ref.invoke(this, $method_getVersion_0, null, -8081107751519807347L);
38         return ((java.lang.String JavaDoc) $result);
39     } catch (java.lang.RuntimeException JavaDoc e) {
40         throw e;
41     } catch (java.rmi.RemoteException JavaDoc e) {
42         throw e;
43     } catch (java.lang.Exception JavaDoc e) {
44         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
45     }
46     }
47     
48     // implementation of newClient(Object)
49
public javax.management.remote.rmi.RMIConnection JavaDoc newClient(java.lang.Object JavaDoc $param_Object_1)
50     throws java.io.IOException JavaDoc
51     {
52     try {
53         Object JavaDoc $result = ref.invoke(this, $method_newClient_1, new java.lang.Object JavaDoc[] {$param_Object_1}, -1089742558549201240L);
54         return ((javax.management.remote.rmi.RMIConnection JavaDoc) $result);
55     } catch (java.lang.RuntimeException JavaDoc e) {
56         throw e;
57     } catch (java.io.IOException JavaDoc e) {
58         throw e;
59     } catch (java.lang.Exception JavaDoc e) {
60         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
61     }
62     }
63 }
64
Popular Tags