KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > geronimo > cxf > PortInfo


1 /**
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17 package org.apache.geronimo.cxf;
18
19 import java.io.Serializable JavaDoc;
20 import java.util.List JavaDoc;
21
22 import org.apache.cxf.jaxws.javaee.PortComponentHandlerType;
23
24 public class PortInfo implements Serializable JavaDoc {
25
26     private String JavaDoc serviceName;
27     private String JavaDoc portName;
28     private String JavaDoc seiInterfaceName;
29     private String JavaDoc wsdlFile;
30     private String JavaDoc servletLink;
31     // TODO: will have to construct handlers when the container becomes active
32
//
33
private List JavaDoc<PortComponentHandlerType> handlers;
34    
35     public String JavaDoc getPortName() {
36         return portName;
37     }
38     public void setPortName(String JavaDoc pn) {
39         portName = pn;
40     }
41     public String JavaDoc getServiceEndpointInterfaceName() {
42         return seiInterfaceName;
43     }
44     public void setServiceEndpointInterfaceName(String JavaDoc sei) {
45         seiInterfaceName = sei;
46     }
47     public String JavaDoc getServletLink() {
48         return servletLink;
49     }
50     public void setServletLink(String JavaDoc sl) {
51         servletLink = sl;
52     }
53     public String JavaDoc getWsdlFile() {
54         return wsdlFile;
55     }
56     public void setWsdlFile(String JavaDoc wf) {
57         wsdlFile = wf;
58     }
59     
60     public void setHandlers(List JavaDoc<PortComponentHandlerType> h) {
61         handlers = h;
62     }
63     
64     public List JavaDoc<PortComponentHandlerType> getHandlers() {
65         return handlers;
66     }
67     
68     public String JavaDoc getServiceName() {
69         return serviceName;
70     }
71     
72     public void setServiceName(String JavaDoc sn) {
73         serviceName = sn;
74     }
75
76     /*
77     private String serviceName;
78     private String portName;
79     private String seiInterfaceName;
80     private String wsdlFile;
81     private String servletLink;
82      */

83     public String JavaDoc toString() {
84         return "[" + serviceName + ":" + portName + ":" + seiInterfaceName + ":" + wsdlFile + "]";
85     }
86 }
87
Popular Tags