1/* 2 * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24// Stub class generated by rmic, do not edit. 25// Contents subject to change without notice. 26 27public final class DownloadActivationGroup_Stub 28 extends java.rmi.server.RemoteStub 29 implements Ping 30{ 31 private static final long serialVersionUID = 2; 32 33 private static java.lang.reflect.Method $method_ping_0; 34 private static java.lang.reflect.Method $method_shutdown_1; 35 36 static { 37 try { 38 $method_ping_0 = Ping.class.getMethod("ping", new java.lang.Class[] {}); 39 $method_shutdown_1 = Ping.class.getMethod("shutdown", new java.lang.Class[] {}); 40 } catch (java.lang.NoSuchMethodException e) { 41 throw new java.lang.NoSuchMethodError( 42 "stub class initialization failed"); 43 } 44 } 45 46 // constructors 47 public DownloadActivationGroup_Stub(java.rmi.server.RemoteRef ref) { 48 super(ref); 49 } 50 51 // methods from remote interfaces 52 53 // implementation of ping() 54 public void ping() 55 throws java.rmi.RemoteException 56 { 57 try { 58 ref.invoke(this, $method_ping_0, null, 5866401369815527589L); 59 } catch (java.lang.RuntimeException e) { 60 throw e; 61 } catch (java.rmi.RemoteException e) { 62 throw e; 63 } catch (java.lang.Exception e) { 64 throw new java.rmi.UnexpectedException("undeclared checked exception", e); 65 } 66 } 67 68 // implementation of shutdown() 69 public void shutdown() 70 throws java.lang.Exception 71 { 72 ref.invoke(this, $method_shutdown_1, null, -7207851917985848402L); 73 } 74} 75