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