module-info.java revision 899:dc78a3dd6b3a
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 * <p> This module is upgradeble.
30 *
31 * @moduleGraph
32 * @since 9
33 */
34@Deprecated(since="9", forRemoval=true)
35module java.corba {
36    requires java.logging;
37    requires java.naming;
38    requires java.transaction;
39    requires jdk.unsupported;
40
41    requires transitive java.desktop;
42    requires transitive java.rmi;
43
44    exports javax.activity;
45    exports javax.rmi;
46    exports javax.rmi.CORBA;
47    exports org.omg.CORBA;
48    exports org.omg.CORBA.DynAnyPackage;
49    exports org.omg.CORBA.ORBPackage;
50    exports org.omg.CORBA.TypeCodePackage;
51    exports org.omg.CORBA.portable;
52    exports org.omg.CORBA_2_3;
53    exports org.omg.CORBA_2_3.portable;
54    exports org.omg.CosNaming;
55    exports org.omg.CosNaming.NamingContextExtPackage;
56    exports org.omg.CosNaming.NamingContextPackage;
57    exports org.omg.Dynamic;
58    exports org.omg.DynamicAny;
59    exports org.omg.DynamicAny.DynAnyFactoryPackage;
60    exports org.omg.DynamicAny.DynAnyPackage;
61    exports org.omg.IOP;
62    exports org.omg.IOP.CodecFactoryPackage;
63    exports org.omg.IOP.CodecPackage;
64    exports org.omg.Messaging;
65    exports org.omg.PortableInterceptor;
66    exports org.omg.PortableInterceptor.ORBInitInfoPackage;
67    exports org.omg.PortableServer;
68    exports org.omg.PortableServer.CurrentPackage;
69    exports org.omg.PortableServer.POAManagerPackage;
70    exports org.omg.PortableServer.POAPackage;
71    exports org.omg.PortableServer.ServantLocatorPackage;
72    exports org.omg.PortableServer.portable;
73    exports org.omg.SendingContext;
74    exports org.omg.stub.java.rmi;
75
76    // rmic --iiop
77    exports com.sun.corba.se.impl.util to jdk.rmic;
78
79    // JNDI CosNaming provider
80    opens com.sun.jndi.cosnaming to java.naming;  // jndiprovider.properties
81    exports com.sun.jndi.url.corbaname to java.naming;
82    exports com.sun.jndi.url.iiop to java.naming;
83    exports com.sun.jndi.url.iiopname to java.naming;
84}
85