Tue, 06 Mar 2012 16:09:35 -0800
7150322: Stop using drop source bundles in jaxws
Reviewed-by: darcy, ohrstrom
1 /*
2 * Copyright (c) 1997, 2011, 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 */
26 package com.sun.xml.internal.ws.spi.db;
28 import java.util.Collection;
29 import java.util.Map;
31 import com.sun.xml.internal.ws.api.model.SEIModel;
33 /**
34 * BindingInfo
35 *
36 * @author shih-chang.chen@oracle.com
37 */
38 public class BindingInfo {
40 private String databindingMode;
41 private String defaultNamespace;
43 private Collection<Class> contentClasses = new java.util.ArrayList<Class>();
44 private Collection<TypeInfo> typeInfos = new java.util.ArrayList<TypeInfo>();
45 private Map<Class,Class> subclassReplacements = new java.util.HashMap<Class, Class>();
46 private Map<String, Object> properties = new java.util.HashMap<String, Object>();
47 protected ClassLoader classLoader;
49 private SEIModel seiModel;
51 public String getDatabindingMode() {
52 return databindingMode;
53 }
54 public void setDatabindingMode(String databindingMode) {
55 this.databindingMode = databindingMode;
56 }
58 public String getDefaultNamespace() {
59 return defaultNamespace;
60 }
61 public void setDefaultNamespace(String defaultNamespace) {
62 this.defaultNamespace = defaultNamespace;
63 }
65 public Collection<Class> contentClasses() {
66 return contentClasses;
67 }
68 public Collection<TypeInfo> typeInfos() {
69 return typeInfos;
70 }
71 public Map<Class, Class> subclassReplacements() {
72 return subclassReplacements;
73 }
74 public Map<String, Object> properties() {
75 return properties;
76 }
78 public SEIModel getSEIModel() {
79 return seiModel;
80 }
81 public void setSEIModel(SEIModel seiModel) {
82 this.seiModel = seiModel;
83 }
84 public ClassLoader getClassLoader() {
85 return classLoader;
86 }
87 public void setClassLoader(ClassLoader classLoader) {
88 this.classLoader = classLoader;
89 }
91 }