summaryrefslogtreecommitdiff
path: root/tools/gnu/classpath/tools/rmic/templates/Stub.jav
blob: 371e12d44868e100fd6f7d9c9e1f0429c335edb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package #package;

#imports
import java.rmi.UnexpectedException;

import javax.rmi.CORBA.Stub;
import javax.rmi.CORBA.Util;

import org.omg.CORBA.SystemException;
import org.omg.CORBA.portable.ApplicationException;
import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.RemarshalException;

import org.omg.CORBA_2_3.portable.OutputStream;

/**
 * This class delegates its method calls to the remote GIOP object.
 * It is normally generated with grmic.
 */
public class _#name_Stub extends Stub 
  implements #interfaces
{
  /** 
   * Use serialVersionUID for interoperability. 
   */
  private static final long serialVersionUID = 1;
  
  /**
   * The array of repository ids, supported by this GIOP Object
   */ 
  private static final String[] type_ids =
    { 
#idList
    };

  /**
   * Return the array of repository ids, supported by this GIOP Object.   
   *
   * @return the array of Ids.
   */ 
  public String[] _ids()
  {
    return type_ids;
  }
  
#stub_methods    
}