InterfaceType.java revision 608:7e06bf1dcb09
154558Sbp/*
266479Sbp * Copyright (c) 1999, 2000, Oracle and/or its affiliates. All rights reserved.
354558Sbp * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
454558Sbp *
554558Sbp * This code is free software; you can redistribute it and/or modify it
654558Sbp * under the terms of the GNU General Public License version 2 only, as
754558Sbp * published by the Free Software Foundation.  Oracle designates this
854558Sbp * particular file as subject to the "Classpath" exception as provided
954558Sbp * by Oracle in the LICENSE file that accompanied this code.
1054558Sbp *
1154558Sbp * This code is distributed in the hope that it will be useful, but WITHOUT
1254558Sbp * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1354558Sbp * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1454558Sbp * version 2 for more details (a copy is included in the LICENSE file that
1554558Sbp * accompanied this code).
1654558Sbp *
1754558Sbp * You should have received a copy of the GNU General Public License version
1854558Sbp * 2 along with this work; if not, write to the Free Software Foundation,
1954558Sbp * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2054558Sbp *
2154558Sbp * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2254558Sbp * or visit www.oracle.com if you need additional information or have any
2354558Sbp * questions.
2454558Sbp */
2554558Sbp/*
2654558Sbp * COMPONENT_NAME: idl.parser
2754558Sbp *
2854558Sbp * ORIGINS: 27
2954558Sbp *
3054558Sbp * Licensed Materials - Property of IBM
3156424Sbp * 5639-D57 (C) COPYRIGHT International Business Machines Corp. 1997, 1999
3254558Sbp * RMI-IIOP v1.0
3354558Sbp *
3454558Sbp */
3554558Sbp
3654558Sbppackage com.sun.tools.corba.se.idl;
3754558Sbp
3854558Sbp// NOTES:
3954558Sbp
4054558Sbpimport java.io.PrintWriter;
4154558Sbpimport java.util.Hashtable;
4254558Sbp
4354558Sbpimport com.sun.tools.corba.se.idl.*;
4454558Sbp
4554558Sbppublic interface InterfaceType
4654558Sbp{
4754558Sbp  public static final int NORMAL = 0 ;
4854558Sbp  public static final int ABSTRACT = 1 ;
4954558Sbp
5054558Sbp  // LOCAL generates code according to the Local interfaces
51185571Sbz  // Here helper and holder classes are the only ones generated
5254558Sbp  public static final int LOCAL = 2 ;
5354558Sbp
5454558Sbp  // intermediate solution to enable people to extend ServantLocatorPOA
5554558Sbp  // and ServantActivatorPOA for interoperability.  This is until the
5654558Sbp  // POA is declared Local officially by OMG
5754558Sbp  public static final int LOCALSERVANT = 3 ;
5854558Sbp
5954558Sbp  // generate only signature interfaces, no helper/holders are generated
6054558Sbp  public static final int LOCAL_SIGNATURE_ONLY = 4 ;
6154558Sbp
6254558Sbp  public int getInterfaceType ();
6354558Sbp
64143196Ssobomax  public void setInterfaceType( int type ) ;
65143196Ssobomax} // interface InterfaceType
66143196Ssobomax