Tue, 09 Apr 2013 14:51:13 +0100
8010393: Update JAX-WS RI to 2.2.9-b12941
Reviewed-by: alanb, erikj
Contributed-by: miroslav.kos@oracle.com, martin.grebac@oracle.com
ohair@286 | 1 | /* |
alanb@368 | 2 | * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
ohair@286 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ohair@286 | 4 | * |
ohair@286 | 5 | * This code is free software; you can redistribute it and/or modify it |
ohair@286 | 6 | * under the terms of the GNU General Public License version 2 only, as |
ohair@286 | 7 | * published by the Free Software Foundation. Oracle designates this |
ohair@286 | 8 | * particular file as subject to the "Classpath" exception as provided |
ohair@286 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
ohair@286 | 10 | * |
ohair@286 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
ohair@286 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ohair@286 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ohair@286 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
ohair@286 | 15 | * accompanied this code). |
ohair@286 | 16 | * |
ohair@286 | 17 | * You should have received a copy of the GNU General Public License version |
ohair@286 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
ohair@286 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ohair@286 | 20 | * |
ohair@286 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@286 | 22 | * or visit www.oracle.com if you need additional information or have any |
ohair@286 | 23 | * questions. |
ohair@286 | 24 | */ |
ohair@286 | 25 | |
ohair@286 | 26 | /** |
ohair@286 | 27 | * <h1>JAX-WS 2.1 Tools</h1> |
ohair@286 | 28 | * This document describes the tools included with JAX-WS 2.0.1. |
ohair@286 | 29 | * |
ohair@286 | 30 | * {@DotDiagram digraph G { |
ohair@286 | 31 | // external tools |
ohair@286 | 32 | AP; |
ohair@286 | 33 | |
ohair@286 | 34 | // ANT tasks |
ohair@286 | 35 | node [style=filled,color=lightyellow]; |
ohair@286 | 36 | "WsGen ANT Task"; "WsImport ANT Task"; |
ohair@286 | 37 | |
ohair@286 | 38 | // commandline |
ohair@286 | 39 | node [style=filled,color=lightpink]; |
ohair@286 | 40 | wsgen; wsimport; |
ohair@286 | 41 | |
ohair@286 | 42 | // libraries |
ohair@286 | 43 | node [style=filled,color=lightblue]; |
ohair@286 | 44 | WsimportTool; WsgenTool;"WSAP"; WebServiceAp; WSDLModeler;WSDLParser;SeiGenerator;ServiceGenerator;ExceptionGenerator;"JAXB XJC APIs";CodeModel; |
ohair@286 | 45 | |
ohair@286 | 46 | // aps |
ohair@286 | 47 | # node [style=filled,color=lightpink]; |
ohair@286 | 48 | # "JAX-WS"; tools; runtime; SPI; "Annotation Processor"; |
ohair@286 | 49 | |
ohair@286 | 50 | "WsGen ANT Task" -> wsgen -> WsgenTool; |
ohair@286 | 51 | "WsImport ANT Task" -> wsimport -> WsimportTool; |
ohair@286 | 52 | |
ohair@286 | 53 | WsgenTool -> Annotation Processing -> WSAP -> WebServiceAp; |
ohair@286 | 54 | WsimportTool -> WSDLModeler; |
ohair@286 | 55 | WSDLModeler->WSDLParser; |
ohair@286 | 56 | WSDLModeler->"JAXB XJC APIs" |
ohair@286 | 57 | WsimportTool->SeiGenerator->CodeModel; |
ohair@286 | 58 | WsimportTool->ServiceGenerator->CodeModel; |
ohair@286 | 59 | WsimportTool->ExceptionGenerator->CodeModel; |
ohair@286 | 60 | WebServiceAp->CodeModel |
ohair@286 | 61 | } |
ohair@286 | 62 | * } |
ohair@286 | 63 | * <div align=right> |
ohair@286 | 64 | * <b>Legend:</b> blue: implementation classes, pink: command-line toosl, white: external tool, yellow: ANT tasks |
ohair@286 | 65 | * </div> |
ohair@286 | 66 | * |
ohair@286 | 67 | * <h2>ANT Tasks</h2> |
ohair@286 | 68 | <d1> |
ohair@286 | 69 | * <dt>{@link com.sun.tools.internal.ws.ant.AnnotationProcessingTask AnnotationProcessing} |
ohair@286 | 70 | * <dd>An ANT task to invoke <a href="http://download.oracle.com/javase/6/docs/api/javax/annotation/processing/package-summary.html">Annotation Processing</a>. |
ohair@286 | 71 | |
ohair@286 | 72 | * <dt>{@link com.sun.tools.internal.ws.ant.WsGen2 WsGen} |
ohair@286 | 73 | * <dd> |
ohair@286 | 74 | * An ANT task to invoke {@link com.sun.tools.internal.ws.WsGen WsGen} |
ohair@286 | 75 | |
ohair@286 | 76 | * <dt>{@link com.sun.tools.internal.ws.ant.WsImport2 WsImport} |
ohair@286 | 77 | * <dd> |
ohair@286 | 78 | * An ANT task to invoke {@link com.sun.tools.internal.ws.WsImport WsImport} |
ohair@286 | 79 | * |
ohair@286 | 80 | * </d1> |
ohair@286 | 81 | * <h2>Command-line Tools</h2> |
ohair@286 | 82 | <d1> |
ohair@286 | 83 | * <dt><a href="http://download.oracle.com/javase/6/docs/api/javax/annotation/processing/package-summary.html">AP</a> |
ohair@286 | 84 | <dd>A Java SE tool and framework for processing annotations. Annotation processing will invoke a JAX-WS AnnotationProcossor for |
ohair@286 | 85 | * processing Java source files with javax.jws.* annotations and making them web services. |
ohair@286 | 86 | * Annotation processing will compile the Java source files and generate any additional classes needed to make an javax.jws.WebService |
ohair@286 | 87 | * annotated class a Web service. |
ohair@286 | 88 | * |
ohair@286 | 89 | * <dt>{@link com.sun.tools.internal.ws.WsGen WsGen} |
ohair@286 | 90 | * <dd>Tool to process a compiled javax.jws.WebService annotated class and to generate the necessary classes to make |
ohair@286 | 91 | * it a Web service. |
ohair@286 | 92 | |
ohair@286 | 93 | * <dt>{@link com.sun.tools.internal.ws.ant.WsImport2 WsImport} |
ohair@286 | 94 | * <dd> |
ohair@286 | 95 | * Tool to import a WSDL and to generate an SEI (a javax.jws.WebService) interface that can be either implemented |
ohair@286 | 96 | * on the server to build a web service, or can be used on the client to invoke the web service. |
ohair@286 | 97 | * </d1> |
ohair@286 | 98 | * <h2>Implementation Classes</h2> |
ohair@286 | 99 | * <d1> |
ohair@286 | 100 | * <dt>{@link com.sun.tools.internal.ws.processor.model.Model Model} |
ohair@286 | 101 | * <dd>The model is used to represent the entire Web Service. The JAX-WS ProcessorActions can process |
ohair@286 | 102 | * this Model to generate Java artifacts such as the service interface. |
ohair@286 | 103 | * |
ohair@286 | 104 | * |
ohair@286 | 105 | * <dt>{@link com.sun.tools.internal.ws.processor.modeler.Modeler Modeler} |
ohair@286 | 106 | * <dd>A Modeler is used to create a Model of a Web Service from a particular Web |
ohair@286 | 107 | * Web Service description such as a WSDL |
ohair@286 | 108 | * file. |
ohair@286 | 109 | * |
ohair@286 | 110 | * <dt>{@link com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler WSDLModeler} |
ohair@286 | 111 | * <dd>The WSDLModeler processes a WSDL to create a Model. |
ohair@286 | 112 | * |
ohair@286 | 113 | * <dt>{@link com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceAp WebServiceAp} |
ohair@286 | 114 | * <dd>WebServiceAp is a AnnotationProcessor for processing javax.jws.* and |
ohair@286 | 115 | * javax.xml.ws.* annotations. This class is used either by the WsGen (CompileTool) tool or |
ohair@286 | 116 | * idirectly via the {@link com.sun.istack.internal.ws.WSAP WSAP} when invoked by Annotation Processing. |
ohair@286 | 117 | * </d1> |
ohair@286 | 118 | * |
ohair@286 | 119 | * @ArchitectureDocument |
ohair@286 | 120 | **/ |
ohair@286 | 121 | package com.sun.tools.internal.ws; |