KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > invocation > jrmp > server > JRMPInvoker_Stub


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

4 package org.jboss.invocation.jrmp.server;
5
6 public final class JRMPInvoker_Stub
7     extends java.rmi.server.RemoteStub JavaDoc
8     implements org.jboss.invocation.Invoker, java.rmi.Remote JavaDoc
9 {
10     private static final long serialVersionUID = 2;
11     
12     private static java.lang.reflect.Method JavaDoc $method_getServerHostName_0;
13     private static java.lang.reflect.Method JavaDoc $method_invoke_1;
14     
15     static {
16     try {
17         $method_getServerHostName_0 = org.jboss.invocation.Invoker.class.getMethod("getServerHostName", new java.lang.Class JavaDoc[] {});
18         $method_invoke_1 = org.jboss.invocation.Invoker.class.getMethod("invoke", new java.lang.Class JavaDoc[] {org.jboss.invocation.Invocation.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 JRMPInvoker_Stub(java.rmi.server.RemoteRef JavaDoc ref) {
27     super(ref);
28     }
29     
30     // methods from remote interfaces
31

32     // implementation of getServerHostName()
33
public java.lang.String JavaDoc getServerHostName()
34     throws java.lang.Exception JavaDoc
35     {
36     Object JavaDoc $result = ref.invoke(this, $method_getServerHostName_0, null, 579220770345114821L);
37     return ((java.lang.String JavaDoc) $result);
38     }
39     
40     // implementation of invoke(Invocation)
41
public java.lang.Object JavaDoc invoke(org.jboss.invocation.Invocation $param_Invocation_1)
42     throws java.lang.Exception JavaDoc
43     {
44     Object JavaDoc $result = ref.invoke(this, $method_invoke_1, new java.lang.Object JavaDoc[] {$param_Invocation_1}, 7211190630528545274L);
45     return ((java.lang.Object JavaDoc) $result);
46     }
47 }
48
Popular Tags