01: /**
02: *
03: * Licensed to the Apache Software Foundation (ASF) under one or more
04: * contributor license agreements. See the NOTICE file distributed with
05: * this work for additional information regarding copyright ownership.
06: * The ASF licenses this file to You under the Apache License, Version 2.0
07: * (the "License"); you may not use this file except in compliance with
08: * the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */package org.apache.openejb.client;
18:
19: import javax.xml.namespace.QName;
20: import java.io.Serializable;
21: import java.util.Properties;
22: import java.util.List;
23: import java.util.ArrayList;
24:
25: public class PortRefMetaData implements Serializable {
26: private static final long serialVersionUID = 4343767807431809218L;
27:
28: private QName qname;
29: private String serviceEndpointInterface;
30: private boolean enableMtom;
31: private final Properties properties = new Properties();
32: private final List<String> addresses = new ArrayList<String>(1);
33:
34: public QName getQName() {
35: return qname;
36: }
37:
38: public void setQName(QName qname) {
39: this .qname = qname;
40: }
41:
42: public String getServiceEndpointInterface() {
43: return serviceEndpointInterface;
44: }
45:
46: public void setServiceEndpointInterface(
47: String serviceEndpointInterface) {
48: this .serviceEndpointInterface = serviceEndpointInterface;
49: }
50:
51: public boolean isEnableMtom() {
52: return enableMtom;
53: }
54:
55: public void setEnableMtom(boolean value) {
56: this .enableMtom = value;
57: }
58:
59: public Properties getProperties() {
60: return properties;
61: }
62:
63: public List<String> getAddresses() {
64: return addresses;
65: }
66: }
|