1 17 18 19 package org.apache.catalina.deploy; 20 21 import java.io.Serializable ; 22 23 31 32 public class ContextService extends ResourceBase implements Serializable { 33 34 35 37 38 41 private String displayname = null; 42 43 public String getDisplayname() { 44 return (this.displayname); 45 } 46 47 public void setDisplayname(String displayname) { 48 this.displayname = displayname; 49 } 50 51 54 private String icon = null; 55 56 public String getIcon() { 57 return (this.icon); 58 } 59 60 public void setIcon(String icon) { 61 this.icon = icon; 62 } 63 64 67 private String serviceinterface = null; 68 69 public String getServiceinterface() { 70 return (this.serviceinterface); 71 } 72 73 public void setServiceinterface(String serviceinterface) { 74 this.serviceinterface = serviceinterface; 75 } 76 77 81 private String wsdlfile = null; 82 83 public String getWsdlfile() { 84 return (this.wsdlfile); 85 } 86 87 public void setWsdlfile(String wsdlfile) { 88 this.wsdlfile = wsdlfile; 89 } 90 91 95 private String jaxrpcmappingfile = null; 96 97 public String getJaxrpcmappingfile() { 98 return (this.jaxrpcmappingfile); 99 } 100 101 public void setJaxrpcmappingfile(String jaxrpcmappingfile) { 102 this.jaxrpcmappingfile = jaxrpcmappingfile; 103 } 104 105 116 private String [] serviceqname = new String [2]; 117 118 public String [] getServiceqname() { 119 return (this.serviceqname); 120 } 121 122 public void setServiceqname(String [] serviceqname) { 123 this.serviceqname = serviceqname; 124 } 125 126 public void setServiceqname(String serviceqname, int i) { 127 this.serviceqname[i] = serviceqname; 128 } 129 130 public void setNamespaceURI(String namespaceuri) { 131 this.serviceqname[0] = namespaceuri; 132 } 133 134 public void setLocalpart(String localpart) { 135 this.serviceqname[1] = localpart; 136 } 137 138 146 private String [] portcomponent = new String [2]; 147 148 public String [] getPortcomponent() { 149 return (this.portcomponent); 150 } 151 152 public void setPortcomponent(String [] portcomponent) { 153 this.portcomponent = portcomponent; 154 } 155 156 public void setPortcomponent(String portcomponent, int i) { 157 this.portcomponent[i] = portcomponent; 158 } 159 160 public void setServiceendpoint(String serviceendpoint) { 161 this.portcomponent[0] = serviceendpoint; 162 } 163 164 public void setPortlink(String portlink) { 165 this.portcomponent[1] = portlink; 166 } 167 168 173 private String handler = null; 174 175 public String getHandler() { 176 return (this.handler); 177 } 178 179 public void setHandler(String handler) { 180 this.handler = handler; 181 } 182 183 184 186 187 190 public String toString() { 191 192 StringBuffer sb = new StringBuffer ("ContextService["); 193 sb.append("name="); 194 sb.append(getName()); 195 if (getDescription() != null) { 196 sb.append(", description="); 197 sb.append(getDescription()); 198 } 199 if (getType() != null) { 200 sb.append(", type="); 201 sb.append(getType()); 202 } 203 if (displayname != null) { 204 sb.append(", displayname="); 205 sb.append(displayname); 206 } 207 if (serviceinterface != null) { 208 sb.append(", serviceinterface="); 209 sb.append(serviceinterface); 210 } 211 if (icon != null) { 212 sb.append(", icon="); 213 sb.append(icon); 214 } 215 if (wsdlfile != null) { 216 sb.append(", wsdl-file="); 217 sb.append(wsdlfile); 218 } 219 if (jaxrpcmappingfile != null) { 220 sb.append(", jaxrpc-mapping-file="); 221 sb.append(jaxrpcmappingfile); 222 } 223 if (serviceqname != null) { 224 sb.append(", service-qname="); 225 sb.append(serviceqname); 226 } 227 if (portcomponent != null) { 228 sb.append(", port-component="); 229 sb.append(portcomponent); 230 } 231 if (handler != null) { 232 sb.append(", handler="); 233 sb.append(handler); 234 } 235 sb.append("]"); 236 return (sb.toString()); 237 238 } 239 240 } 241 | Popular Tags |