001: /**
002: *
003: * Licensed to the Apache Software Foundation (ASF) under one or more
004: * contributor license agreements. See the NOTICE file distributed with
005: * this work for additional information regarding copyright ownership.
006: * The ASF licenses this file to You under the Apache License, Version 2.0
007: * (the "License"); you may not use this file except in compliance with
008: * the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing, software
013: * distributed under the License is distributed on an "AS IS" BASIS,
014: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015: * See the License for the specific language governing permissions and
016: * limitations under the License.
017: */package org.apache.openejb.core.webservices;
018:
019: import org.apache.openejb.Injection;
020:
021: import javax.xml.namespace.QName;
022: import javax.xml.ws.handler.PortInfo;
023: import java.util.List;
024: import java.util.ArrayList;
025: import java.net.URL;
026:
027: public class PortData implements PortInfo {
028: private String portId;
029: private QName serviceName;
030: private QName portName;
031: private String bindingId;
032:
033: private URL wsdlUrl;
034: private final List<HandlerChainData> handlerChains = new ArrayList<HandlerChainData>();
035: private final List<Injection> injections = new ArrayList<Injection>();
036: private boolean mtomEnabled;
037: private QName wsdlPort;
038: private QName wsdlService;
039: private String location;
040:
041: public String getPortId() {
042: return portId;
043: }
044:
045: public void setPortId(String portId) {
046: this .portId = portId;
047: }
048:
049: public QName getServiceName() {
050: return serviceName;
051: }
052:
053: public void setServiceName(QName serviceName) {
054: this .serviceName = serviceName;
055: }
056:
057: public QName getPortName() {
058: return portName;
059: }
060:
061: public void setPortName(QName portName) {
062: this .portName = portName;
063: }
064:
065: public String getBindingID() {
066: return bindingId;
067: }
068:
069: public void setBindingID(String bindingId) {
070: this .bindingId = bindingId;
071: }
072:
073: public URL getWsdlUrl() {
074: return wsdlUrl;
075: }
076:
077: public void setWsdlUrl(URL wsdlUrl) {
078: this .wsdlUrl = wsdlUrl;
079: }
080:
081: public List<HandlerChainData> getHandlerChains() {
082: return handlerChains;
083: }
084:
085: public List<Injection> getInjections() {
086: return injections;
087: }
088:
089: public boolean isMtomEnabled() {
090: return mtomEnabled;
091: }
092:
093: public void setMtomEnabled(boolean mtomEnabled) {
094: this .mtomEnabled = mtomEnabled;
095: }
096:
097: public QName getWsdlPort() {
098: return wsdlPort;
099: }
100:
101: public void setWsdlPort(QName wsdlPort) {
102: this .wsdlPort = wsdlPort;
103: }
104:
105: public QName getWsdlService() {
106: return wsdlService;
107: }
108:
109: public void setWsdlService(QName wsdlService) {
110: this .wsdlService = wsdlService;
111: }
112:
113: public String getLocation() {
114: return location;
115: }
116:
117: public void setLocation(String location) {
118: this.location = location;
119: }
120: }
|