1 /*
   2  * Copyright (c) 2014, 2016, 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.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 /**
  27  * Defines the Java binding of the OMG CORBA APIs, and the RMI-IIOP API.
  28  *
  29  * @moduleGraph
  30  * @since 9
  31  */
  32 @Deprecated(since="9", forRemoval=true)
  33 module java.corba {
  34     requires transitive java.desktop;
  35     requires transitive java.rmi;
  36     requires java.logging;
  37     requires java.naming;
  38     requires java.transaction;
  39     requires jdk.unsupported;
  40 
  41     exports javax.activity;
  42     exports javax.rmi;
  43     exports javax.rmi.CORBA;
  44     exports org.omg.CORBA;
  45     exports org.omg.CORBA.DynAnyPackage;
  46     exports org.omg.CORBA.ORBPackage;
  47     exports org.omg.CORBA.TypeCodePackage;
  48     exports org.omg.CORBA.portable;
  49     exports org.omg.CORBA_2_3;
  50     exports org.omg.CORBA_2_3.portable;
  51     exports org.omg.CosNaming;
  52     exports org.omg.CosNaming.NamingContextExtPackage;
  53     exports org.omg.CosNaming.NamingContextPackage;
  54     exports org.omg.Dynamic;
  55     exports org.omg.DynamicAny;
  56     exports org.omg.DynamicAny.DynAnyFactoryPackage;
  57     exports org.omg.DynamicAny.DynAnyPackage;
  58     exports org.omg.IOP;
  59     exports org.omg.IOP.CodecFactoryPackage;
  60     exports org.omg.IOP.CodecPackage;
  61     exports org.omg.Messaging;
  62     exports org.omg.PortableInterceptor;
  63     exports org.omg.PortableInterceptor.ORBInitInfoPackage;
  64     exports org.omg.PortableServer;
  65     exports org.omg.PortableServer.CurrentPackage;
  66     exports org.omg.PortableServer.POAManagerPackage;
  67     exports org.omg.PortableServer.POAPackage;
  68     exports org.omg.PortableServer.ServantLocatorPackage;
  69     exports org.omg.PortableServer.portable;
  70     exports org.omg.SendingContext;
  71     exports org.omg.stub.java.rmi;
  72 
  73     // rmic --iiop
  74     exports com.sun.corba.se.impl.util to jdk.rmic;
  75 
  76     // JNDI CosNaming provider
  77     opens com.sun.jndi.cosnaming to java.naming;  // jndiprovider.properties
  78     exports com.sun.jndi.url.corbaname to java.naming;
  79     exports com.sun.jndi.url.iiop to java.naming;
  80     exports com.sun.jndi.url.iiopname to java.naming;
  81 }