1 /*
   2  * Copyright (c) 2014, 2015, 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 module jdk.xml.bind {
  27     requires java.activation;
  28     requires java.compiler;
  29     requires java.desktop;
  30     requires java.logging;
  31     requires java.xml;
  32     requires java.xml.bind;
  33     requires jdk.compiler;
  34 
  35     exports com.sun.codemodel.internal to
  36         jdk.xml.ws;
  37     exports com.sun.codemodel.internal.writer to
  38         jdk.xml.ws;
  39     exports com.sun.istack.internal.tools to
  40         jdk.xml.ws;
  41     exports com.sun.tools.internal.jxc.ap to
  42         jdk.xml.ws;
  43     exports com.sun.tools.internal.jxc.model.nav to
  44         jdk.xml.ws;
  45     exports com.sun.tools.internal.xjc to
  46         jdk.xml.ws;
  47     exports com.sun.tools.internal.xjc.api to
  48         jdk.xml.ws;
  49     exports com.sun.tools.internal.xjc.reader to
  50         jdk.xml.ws;
  51     exports com.sun.tools.internal.xjc.reader.internalizer to
  52         jdk.xml.ws;
  53     exports com.sun.tools.internal.xjc.util to
  54         jdk.xml.ws;
  55     exports com.sun.xml.internal.xsom.parser to
  56         jdk.xml.ws;
  57 
  58     // XML document content needs to be exported
  59     opens com.sun.tools.internal.xjc.reader.xmlschema.bindinfo to
  60         java.xml.bind;
  61 
  62     // com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BindInfo uses JAXBContext
  63     exports com.sun.tools.internal.xjc.generator.bean to java.xml.bind;
  64 
  65     uses com.sun.tools.internal.xjc.Plugin;
  66     provides com.sun.tools.internal.xjc.Plugin with
  67         com.sun.tools.internal.xjc.addon.accessors.PluginImpl,
  68         com.sun.tools.internal.xjc.addon.at_generated.PluginImpl,
  69         com.sun.tools.internal.xjc.addon.code_injector.PluginImpl,
  70         com.sun.tools.internal.xjc.addon.episode.PluginImpl,
  71         com.sun.tools.internal.xjc.addon.locator.SourceLocationAddOn,
  72         com.sun.tools.internal.xjc.addon.sync.SynchronizedMethodAddOn;
  73 }
  74