KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > management > mejb > RMIClientNotificationListener_Stub


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

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

30     // implementation of handleNotification(Notification, Object)
31
public void handleNotification(javax.management.Notification JavaDoc $param_Notification_1, java.lang.Object JavaDoc $param_Object_2)
32     throws java.rmi.RemoteException JavaDoc
33     {
34     try {
35         ref.invoke(this, $method_handleNotification_0, new java.lang.Object JavaDoc[] {$param_Notification_1, $param_Object_2}, -1982336311472540462L);
36     } catch (java.lang.RuntimeException JavaDoc e) {
37         throw e;
38     } catch (java.rmi.RemoteException JavaDoc e) {
39         throw e;
40     } catch (java.lang.Exception JavaDoc e) {
41         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
42     }
43     }
44 }
45
Popular Tags