Sun, 15 Dec 2013 23:35:45 +0100
8025152: Enhance activation set up
8028388: 9 jaxws tests failed in nightly build with java.lang.ClassCastException
Summary: fix also reviewed by Bill Shannon, Alexander Fomin
Reviewed-by: dfuchs, hawtin, mgrebac
Contributed-by: bill.shannon@oracle.com
aoqi@0 | 1 | /* |
aoqi@0 | 2 | * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
aoqi@0 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
aoqi@0 | 4 | * |
aoqi@0 | 5 | * This code is free software; you can redistribute it and/or modify it |
aoqi@0 | 6 | * under the terms of the GNU General Public License version 2 only, as |
aoqi@0 | 7 | * published by the Free Software Foundation. Oracle designates this |
aoqi@0 | 8 | * particular file as subject to the "Classpath" exception as provided |
aoqi@0 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
aoqi@0 | 10 | * |
aoqi@0 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
aoqi@0 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
aoqi@0 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
aoqi@0 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
aoqi@0 | 15 | * accompanied this code). |
aoqi@0 | 16 | * |
aoqi@0 | 17 | * You should have received a copy of the GNU General Public License version |
aoqi@0 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
aoqi@0 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
aoqi@0 | 20 | * |
aoqi@0 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
aoqi@0 | 22 | * or visit www.oracle.com if you need additional information or have any |
aoqi@0 | 23 | * questions. |
aoqi@0 | 24 | */ |
aoqi@0 | 25 | |
aoqi@0 | 26 | // |
aoqi@0 | 27 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600 |
aoqi@0 | 28 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
aoqi@0 | 29 | // Any modifications to this file will be lost upon recompilation of the source schema. |
aoqi@0 | 30 | // Generated on: 2008.11.17 at 11:49:55 AM CET |
aoqi@0 | 31 | // |
aoqi@0 | 32 | |
aoqi@0 | 33 | |
aoqi@0 | 34 | package com.sun.xml.internal.ws.runtime.config; |
aoqi@0 | 35 | |
aoqi@0 | 36 | import org.w3c.dom.Element; |
aoqi@0 | 37 | |
aoqi@0 | 38 | import javax.xml.bind.annotation.*; |
aoqi@0 | 39 | import javax.xml.namespace.QName; |
aoqi@0 | 40 | import java.util.ArrayList; |
aoqi@0 | 41 | import java.util.HashMap; |
aoqi@0 | 42 | import java.util.List; |
aoqi@0 | 43 | import java.util.Map; |
aoqi@0 | 44 | |
aoqi@0 | 45 | |
aoqi@0 | 46 | /** |
aoqi@0 | 47 | * <p>Java class for tubelinesConfigCType complex type. |
aoqi@0 | 48 | * |
aoqi@0 | 49 | * <p>The following schema fragment specifies the expected content contained within this class. |
aoqi@0 | 50 | * |
aoqi@0 | 51 | * <pre> |
aoqi@0 | 52 | * <complexType name="tubelinesConfigCType"> |
aoqi@0 | 53 | * <complexContent> |
aoqi@0 | 54 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
aoqi@0 | 55 | * <sequence> |
aoqi@0 | 56 | * <element ref="{http://java.sun.com/xml/ns/metro/config}tubeline-mapping" maxOccurs="unbounded" minOccurs="0"/> |
aoqi@0 | 57 | * <element ref="{http://java.sun.com/xml/ns/metro/config}tubeline" maxOccurs="unbounded" minOccurs="0"/> |
aoqi@0 | 58 | * <any/> |
aoqi@0 | 59 | * </sequence> |
aoqi@0 | 60 | * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> |
aoqi@0 | 61 | * </restriction> |
aoqi@0 | 62 | * </complexContent> |
aoqi@0 | 63 | * </complexType> |
aoqi@0 | 64 | * </pre> |
aoqi@0 | 65 | * |
aoqi@0 | 66 | * |
aoqi@0 | 67 | */ |
aoqi@0 | 68 | @XmlAccessorType(XmlAccessType.FIELD) |
aoqi@0 | 69 | @XmlType(name = "tubelinesConfigCType", propOrder = { |
aoqi@0 | 70 | "tubelineMappings", |
aoqi@0 | 71 | "tubelineDefinitions", |
aoqi@0 | 72 | "any" |
aoqi@0 | 73 | }) |
aoqi@0 | 74 | public class Tubelines { |
aoqi@0 | 75 | |
aoqi@0 | 76 | @XmlElement(name = "tubeline-mapping") |
aoqi@0 | 77 | protected List<TubelineMapping> tubelineMappings; |
aoqi@0 | 78 | @XmlElement(name = "tubeline") |
aoqi@0 | 79 | protected List<TubelineDefinition> tubelineDefinitions; |
aoqi@0 | 80 | @XmlAnyElement(lax = true) |
aoqi@0 | 81 | protected List<Object> any; |
aoqi@0 | 82 | @XmlAttribute(name = "default") |
aoqi@0 | 83 | @XmlSchemaType(name = "anyURI") |
aoqi@0 | 84 | protected String _default; |
aoqi@0 | 85 | @XmlAnyAttribute |
aoqi@0 | 86 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
aoqi@0 | 87 | |
aoqi@0 | 88 | /** |
aoqi@0 | 89 | * Gets the value of the tubelineMappings property. |
aoqi@0 | 90 | * |
aoqi@0 | 91 | * <p> |
aoqi@0 | 92 | * This accessor method returns a reference to the live list, |
aoqi@0 | 93 | * not a snapshot. Therefore any modification you make to the |
aoqi@0 | 94 | * returned list will be present inside the JAXB object. |
aoqi@0 | 95 | * This is why there is not a <CODE>set</CODE> method for the tubelineMappings property. |
aoqi@0 | 96 | * |
aoqi@0 | 97 | * <p> |
aoqi@0 | 98 | * For example, to add a new item, do as follows: |
aoqi@0 | 99 | * <pre> |
aoqi@0 | 100 | * getTubelineMappings().add(newItem); |
aoqi@0 | 101 | * </pre> |
aoqi@0 | 102 | * |
aoqi@0 | 103 | * |
aoqi@0 | 104 | * <p> |
aoqi@0 | 105 | * Objects of the following type(s) are allowed in the list |
aoqi@0 | 106 | * {@link TubelineMapping } |
aoqi@0 | 107 | * |
aoqi@0 | 108 | * |
aoqi@0 | 109 | */ |
aoqi@0 | 110 | public List<TubelineMapping> getTubelineMappings() { |
aoqi@0 | 111 | if (tubelineMappings == null) { |
aoqi@0 | 112 | tubelineMappings = new ArrayList<TubelineMapping>(); |
aoqi@0 | 113 | } |
aoqi@0 | 114 | return this.tubelineMappings; |
aoqi@0 | 115 | } |
aoqi@0 | 116 | |
aoqi@0 | 117 | /** |
aoqi@0 | 118 | * Gets the value of the tubelineDefinitions property. |
aoqi@0 | 119 | * |
aoqi@0 | 120 | * <p> |
aoqi@0 | 121 | * This accessor method returns a reference to the live list, |
aoqi@0 | 122 | * not a snapshot. Therefore any modification you make to the |
aoqi@0 | 123 | * returned list will be present inside the JAXB object. |
aoqi@0 | 124 | * This is why there is not a <CODE>set</CODE> method for the tubelineDefinitions property. |
aoqi@0 | 125 | * |
aoqi@0 | 126 | * <p> |
aoqi@0 | 127 | * For example, to add a new item, do as follows: |
aoqi@0 | 128 | * <pre> |
aoqi@0 | 129 | * getTubelineDefinitions().add(newItem); |
aoqi@0 | 130 | * </pre> |
aoqi@0 | 131 | * |
aoqi@0 | 132 | * |
aoqi@0 | 133 | * <p> |
aoqi@0 | 134 | * Objects of the following type(s) are allowed in the list |
aoqi@0 | 135 | * {@link TubelineDefinition } |
aoqi@0 | 136 | * |
aoqi@0 | 137 | * |
aoqi@0 | 138 | */ |
aoqi@0 | 139 | public List<TubelineDefinition> getTubelineDefinitions() { |
aoqi@0 | 140 | if (tubelineDefinitions == null) { |
aoqi@0 | 141 | tubelineDefinitions = new ArrayList<TubelineDefinition>(); |
aoqi@0 | 142 | } |
aoqi@0 | 143 | return this.tubelineDefinitions; |
aoqi@0 | 144 | } |
aoqi@0 | 145 | |
aoqi@0 | 146 | /** |
aoqi@0 | 147 | * Gets the value of the any property. |
aoqi@0 | 148 | * |
aoqi@0 | 149 | * <p> |
aoqi@0 | 150 | * This accessor method returns a reference to the live list, |
aoqi@0 | 151 | * not a snapshot. Therefore any modification you make to the |
aoqi@0 | 152 | * returned list will be present inside the JAXB object. |
aoqi@0 | 153 | * This is why there is not a <CODE>set</CODE> method for the any property. |
aoqi@0 | 154 | * |
aoqi@0 | 155 | * <p> |
aoqi@0 | 156 | * For example, to add a new item, do as follows: |
aoqi@0 | 157 | * <pre> |
aoqi@0 | 158 | * getAny().add(newItem); |
aoqi@0 | 159 | * </pre> |
aoqi@0 | 160 | * |
aoqi@0 | 161 | * |
aoqi@0 | 162 | * <p> |
aoqi@0 | 163 | * Objects of the following type(s) are allowed in the list |
aoqi@0 | 164 | * {@link Element } |
aoqi@0 | 165 | * {@link Object } |
aoqi@0 | 166 | * |
aoqi@0 | 167 | * |
aoqi@0 | 168 | */ |
aoqi@0 | 169 | public List<Object> getAny() { |
aoqi@0 | 170 | if (any == null) { |
aoqi@0 | 171 | any = new ArrayList<Object>(); |
aoqi@0 | 172 | } |
aoqi@0 | 173 | return this.any; |
aoqi@0 | 174 | } |
aoqi@0 | 175 | |
aoqi@0 | 176 | /** |
aoqi@0 | 177 | * Gets the value of the default property. |
aoqi@0 | 178 | * |
aoqi@0 | 179 | * @return |
aoqi@0 | 180 | * possible object is |
aoqi@0 | 181 | * {@link String } |
aoqi@0 | 182 | * |
aoqi@0 | 183 | */ |
aoqi@0 | 184 | public String getDefault() { |
aoqi@0 | 185 | return _default; |
aoqi@0 | 186 | } |
aoqi@0 | 187 | |
aoqi@0 | 188 | /** |
aoqi@0 | 189 | * Sets the value of the default property. |
aoqi@0 | 190 | * |
aoqi@0 | 191 | * @param value |
aoqi@0 | 192 | * allowed object is |
aoqi@0 | 193 | * {@link String } |
aoqi@0 | 194 | * |
aoqi@0 | 195 | */ |
aoqi@0 | 196 | public void setDefault(String value) { |
aoqi@0 | 197 | this._default = value; |
aoqi@0 | 198 | } |
aoqi@0 | 199 | |
aoqi@0 | 200 | /** |
aoqi@0 | 201 | * Gets a map that contains attributes that aren't bound to any typed property on this class. |
aoqi@0 | 202 | * |
aoqi@0 | 203 | * <p> |
aoqi@0 | 204 | * the map is keyed by the name of the attribute and |
aoqi@0 | 205 | * the value is the string value of the attribute. |
aoqi@0 | 206 | * |
aoqi@0 | 207 | * the map returned by this method is live, and you can add new attribute |
aoqi@0 | 208 | * by updating the map directly. Because of this design, there's no setter. |
aoqi@0 | 209 | * |
aoqi@0 | 210 | * |
aoqi@0 | 211 | * @return |
aoqi@0 | 212 | * always non-null |
aoqi@0 | 213 | */ |
aoqi@0 | 214 | public Map<QName, String> getOtherAttributes() { |
aoqi@0 | 215 | return otherAttributes; |
aoqi@0 | 216 | } |
aoqi@0 | 217 | |
aoqi@0 | 218 | } |