1 7 8 package org.jboss.webservice.metadata; 10 11 13 import javax.xml.namespace.QName ; 14 15 import org.jboss.webservice.metadata.serviceref.HandlerMetaData; 16 17 import java.net.URL ; 18 import java.util.ArrayList ; 19 20 31 public class PortComponentMetaData 32 { 33 36 public static final String PARAMETER_WEBSERVICE_ID = "webserviceID"; 37 38 private WebserviceDescriptionMetaData webserviceDescription; 40 41 45 private String portComponentName; 46 private QName wsdlPort; 48 private String serviceEndpointInterface; 50 private String ejbLink; 52 private String servletLink; 53 private ArrayList handlers = new ArrayList (); 55 56 private String serviceEndpointBean; 58 59 private URL serviceEndpointURL; 61 62 65 public PortComponentMetaData(WebserviceDescriptionMetaData webserviceDescription) 66 { 67 this.webserviceDescription = webserviceDescription; 68 } 69 70 public WebserviceDescriptionMetaData getWebserviceDescription() 71 { 72 return webserviceDescription; 73 } 74 75 public String getPortComponentName() 76 { 77 return portComponentName; 78 } 79 80 public void setPortComponentName(String portComponentName) 81 { 82 this.portComponentName = portComponentName; 83 } 84 85 public QName getWsdlPort() 86 { 87 return wsdlPort; 88 } 89 90 public void setWsdlPort(QName wsdlPort) 91 { 92 this.wsdlPort = wsdlPort; 93 } 94 95 public String getEjbLink() 96 { 97 return ejbLink; 98 } 99 100 public void setEjbLink(String ejbLink) 101 { 102 this.ejbLink = ejbLink; 103 } 104 105 public String getServletLink() 106 { 107 return servletLink; 108 } 109 110 public void setServletLink(String servletLink) 111 { 112 this.servletLink = servletLink; 113 } 114 115 public String getServiceEndpointInterface() 116 { 117 return serviceEndpointInterface; 118 } 119 120 public void setServiceEndpointInterface(String serviceEndpointInterface) 121 { 122 this.serviceEndpointInterface = serviceEndpointInterface; 123 } 124 125 public String getServiceEndpointBean() 126 { 127 return serviceEndpointBean; 128 } 129 130 public void setServiceEndpointBean(String serviceEndpointBean) 131 { 132 this.serviceEndpointBean = serviceEndpointBean; 133 } 134 135 public void addHandler(HandlerMetaData handler) 136 { 137 handlers.add(handler); 138 } 139 140 public HandlerMetaData[] getHandlers() 141 { 142 HandlerMetaData[] array = new HandlerMetaData[handlers.size()]; 143 handlers.toArray(array); 144 return array; 145 } 146 147 150 public URL getServiceEndpointURL() 151 { 152 return serviceEndpointURL; 153 } 154 155 158 public void setServiceEndpointURL(URL serviceEndpointURL) 159 { 160 this.serviceEndpointURL = serviceEndpointURL; 161 } 162 } 163 | Popular Tags |