01: package org.objectweb.celtix.geronimo.builder;
02:
03: import java.io.Serializable;
04: import java.util.List;
05:
06: import com.sun.java.xml.ns.j2ee.PortComponentHandlerType;
07:
08: public class PortInfo implements Serializable {
09:
10: private String serviceName;
11: private String portName;
12: private String seiInterfaceName;
13: private String wsdlFile;
14: private String servletLink;
15: // TODO: will have to construct handlers when the container becomes active
16: //
17: private List<PortComponentHandlerType> handlers;
18:
19: public String getPortName() {
20: return portName;
21: }
22:
23: public void setPortName(String pn) {
24: portName = pn;
25: }
26:
27: public String getServiceEndpointInterfaceName() {
28: return seiInterfaceName;
29: }
30:
31: public void setServiceEndpointInterfaceName(String sei) {
32: seiInterfaceName = sei;
33: }
34:
35: public String getServletLink() {
36: return servletLink;
37: }
38:
39: public void setServletLink(String sl) {
40: servletLink = sl;
41: }
42:
43: public String getWsdlFile() {
44: return wsdlFile;
45: }
46:
47: public void setWsdlFile(String wf) {
48: wsdlFile = wf;
49: }
50:
51: public void setHandlers(List<PortComponentHandlerType> h) {
52: handlers = h;
53: }
54:
55: public List<PortComponentHandlerType> getHandlers() {
56: return handlers;
57: }
58:
59: public String getServiceName() {
60: return serviceName;
61: }
62:
63: public void setServiceName(String sn) {
64: serviceName = sn;
65: }
66:
67: /*
68: private String serviceName;
69: private String portName;
70: private String seiInterfaceName;
71: private String wsdlFile;
72: private String servletLink;
73: */
74: public String toString() {
75: return "[" + serviceName + ":" + portName + ":"
76: + seiInterfaceName + ":" + wsdlFile + "]";
77: }
78: }
|