001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.jee.sun;
017:
018: import org.apache.openejb.jee.Keyable;
019:
020: import javax.xml.bind.annotation.XmlAccessType;
021: import javax.xml.bind.annotation.XmlAccessorType;
022: import javax.xml.bind.annotation.XmlElement;
023: import javax.xml.bind.annotation.XmlElements;
024: import javax.xml.bind.annotation.XmlType;
025: import java.util.ArrayList;
026: import java.util.List;
027:
028: @XmlAccessorType(XmlAccessType.FIELD)
029: @XmlType(name="",propOrder={"portComponentName","endpointAddressUri","loginConfigOrMessageSecurityBinding","transportGuarantee","serviceQname","tieClass","servletImplClass","debuggingEnabled"})
030: public class WebserviceEndpoint implements Keyable<String> {
031: @XmlElement(name="port-component-name",required=true)
032: protected String portComponentName;
033: @XmlElement(name="endpoint-address-uri")
034: protected String endpointAddressUri;
035: @XmlElements({@XmlElement(name="login-config",type=LoginConfig.class),@XmlElement(name="message-security-binding",type=MessageSecurityBinding.class)})
036: protected List<Object> loginConfigOrMessageSecurityBinding;
037: @XmlElement(name="transport-guarantee")
038: protected String transportGuarantee;
039: @XmlElement(name="service-qname")
040: protected ServiceQname serviceQname;
041: @XmlElement(name="tie-class")
042: protected String tieClass;
043: @XmlElement(name="servlet-impl-class")
044: protected String servletImplClass;
045: @XmlElement(name="debugging-enabled")
046: protected String debuggingEnabled;
047:
048: public String getKey() {
049: return portComponentName;
050: }
051:
052: public String getPortComponentName() {
053: return portComponentName;
054: }
055:
056: public void setPortComponentName(String value) {
057: this .portComponentName = value;
058: }
059:
060: public String getEndpointAddressUri() {
061: return endpointAddressUri;
062: }
063:
064: public void setEndpointAddressUri(String value) {
065: this .endpointAddressUri = value;
066: }
067:
068: public List<Object> getLoginConfigOrMessageSecurityBinding() {
069: if (loginConfigOrMessageSecurityBinding == null) {
070: loginConfigOrMessageSecurityBinding = new ArrayList<Object>();
071: }
072: return this .loginConfigOrMessageSecurityBinding;
073: }
074:
075: public String getTransportGuarantee() {
076: return transportGuarantee;
077: }
078:
079: public void setTransportGuarantee(String value) {
080: this .transportGuarantee = value;
081: }
082:
083: public ServiceQname getServiceQname() {
084: return serviceQname;
085: }
086:
087: public void setServiceQname(ServiceQname value) {
088: this .serviceQname = value;
089: }
090:
091: public String getTieClass() {
092: return tieClass;
093: }
094:
095: public void setTieClass(String value) {
096: this .tieClass = value;
097: }
098:
099: public String getServletImplClass() {
100: return servletImplClass;
101: }
102:
103: public void setServletImplClass(String value) {
104: this .servletImplClass = value;
105: }
106:
107: public String getDebuggingEnabled() {
108: return debuggingEnabled;
109: }
110:
111: public void setDebuggingEnabled(String value) {
112: this.debuggingEnabled = value;
113: }
114: }
|