1 package org.sapia.ubik.rmi.examples; 4 5 public final class JdkFoo_Stub extends java.rmi.server.RemoteStub 6 implements org.sapia.ubik.rmi.examples.Foo, java.rmi.Remote { 7 private static final long serialVersionUID = 2; 8 private static java.lang.reflect.Method $method_getBar_0; 9 10 static { 11 try { 12 $method_getBar_0 = org.sapia.ubik.rmi.examples.Foo.class.getMethod("getBar", 13 new java.lang.Class [] { }); 14 } catch (java.lang.NoSuchMethodException e) { 15 throw new java.lang.NoSuchMethodError ("stub class initialization failed"); 16 } 17 } 18 19 public JdkFoo_Stub(java.rmi.server.RemoteRef ref) { 21 super(ref); 22 } 23 24 public org.sapia.ubik.rmi.examples.Bar getBar() 27 throws java.rmi.RemoteException { 28 try { 29 Object $result = ref.invoke(this, $method_getBar_0, null, 30 -3009707282837911082L); 31 32 return ((org.sapia.ubik.rmi.examples.Bar) $result); 33 } catch (java.lang.RuntimeException e) { 34 throw e; 35 } catch (java.rmi.RemoteException e) { 36 throw e; 37 } catch (java.lang.Exception e) { 38 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 39 } 40 } 41 } 42 | Popular Tags |