KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > easybeans > rpc > rmi > server > RMIServerRPCImpl_Stub


1 /**
2  * EasyBeans Copyright (C) 2006 Bull S.A.S. Contact: easybeans@objectweb.org
3  * This library is free software; you can redistribute it and/or modify it under
4  * the terms of the GNU Lesser General Public License as published by the Free
5  * Software Foundation; either version 2.1 of the License, or any later version.
6  * This library is distributed in the hope that it will be useful, but WITHOUT
7  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
8  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
9  * details. You should have received a copy of the GNU Lesser General Public
10  * License along with this library; if not, write to the Free Software
11  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
12  * --------------------------------------------------------------------------
13  * $Id: RMIServerRPCImpl_Stub.java 9 2006-02-19 18:53:32Z benoitf $
14  * --------------------------------------------------------------------------
15  */

16
17 // Stub class generated by rmic, do not edit.
18
// Contents subject to change without notice.
19
package org.objectweb.easybeans.rpc.rmi.server;
20
21 public final class RMIServerRPCImpl_Stub extends java.rmi.server.RemoteStub JavaDoc implements
22         org.objectweb.easybeans.rpc.rmi.server.RMIServerRPC {
23
24     private static final long serialVersionUID = 2;
25
26     private static java.lang.reflect.Method JavaDoc $method_getEJBResponse_0;
27
28     static {
29         try {
30             $method_getEJBResponse_0 = org.objectweb.easybeans.rpc.rmi.server.RMIServerRPC.class.getMethod("getEJBResponse",
31                     new java.lang.Class JavaDoc[] {org.objectweb.easybeans.rpc.api.EJBRequest.class});
32         } catch (java.lang.NoSuchMethodException JavaDoc e) {
33             throw new java.lang.NoSuchMethodError JavaDoc("stub class initialization failed");
34         }
35     }
36
37     // constructors
38
public RMIServerRPCImpl_Stub(java.rmi.server.RemoteRef JavaDoc ref) {
39         super(ref);
40     }
41
42     // methods from remote interfaces
43

44     // implementation of getEJBResponse(EJBRequest)
45
public org.objectweb.easybeans.rpc.api.EJBResponse getEJBResponse(
46             org.objectweb.easybeans.rpc.api.EJBRequest $param_EJBRequest_1) throws java.rmi.RemoteException JavaDoc {
47         try {
48             Object JavaDoc $result = ref.invoke(this, $method_getEJBResponse_0, new java.lang.Object JavaDoc[] {$param_EJBRequest_1},
49                     3265772124233421208L);
50             return ((org.objectweb.easybeans.rpc.api.EJBResponse) $result);
51         } catch (java.lang.RuntimeException JavaDoc e) {
52             throw e;
53         } catch (java.rmi.RemoteException JavaDoc e) {
54             throw e;
55         } catch (java.lang.Exception JavaDoc e) {
56             throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
57         }
58     }
59 }
60
Popular Tags