Fields Summary |
---|
private String | displaynameThe WebService reference name. |
private String | iconAn icon for this WebService. |
private String | wsdlfileContains the location (relative to the root of
the module) of the web service WSDL description. |
private String | jaxrpcmappingfileA file specifying the correlation of the WSDL definition
to the interfaces (Service Endpoint Interface, Service Interface). |
private String[] | serviceqnameDeclares the specific WSDL service element that is being referred to.
It is not specified if no wsdl-file is declared or if WSDL contains only
1 service element.
A service-qname is composed by a namespaceURI and a localpart.
It must be defined if more than 1 service is declared in the WSDL.
serviceqname[0] : namespaceURI
serviceqname[1] : localpart |
private HashMap | handlersA list of Handlers to use for this service-ref.
The instanciation of the handler have to be done. |
Methods Summary |
---|
public void | addHandler(ContextHandler handler)
handlers.put(handler.getName(), handler);
|
public void | addPortcomponent(java.lang.String serviceendpoint, java.lang.String portlink)
if (portlink == null)
portlink = "";
this.setProperty(serviceendpoint, portlink);
|
public java.lang.String | getDisplayname()
return (this.displayname);
|
public ContextHandler | getHandler(java.lang.String handlername)
return (ContextHandler) handlers.get(handlername);
|
public java.util.Iterator | getHandlers()
return handlers.keySet().iterator();
|
public java.lang.String | getIcon()
return (this.icon);
|
public java.lang.String | getJaxrpcmappingfile()
return (this.jaxrpcmappingfile);
|
public java.lang.String | getPortlink(java.lang.String serviceendpoint)
return (String) this.getProperty(serviceendpoint);
|
public java.util.Iterator | getServiceendpoints()Declares a client dependency on the container to resolving a Service Endpoint Interface
to a WSDL port. It optionally associates the Service Endpoint Interface with a
particular port-component.
return this.listProperties();
|
public java.lang.String | getServiceqname(int i)
return this.serviceqname[i];
|
public java.lang.String[] | getServiceqname()
return (this.serviceqname);
|
public java.lang.String | getServiceqnameLocalpart()
return this.serviceqname[1];
|
public java.lang.String | getServiceqnameNamespaceURI()
return this.serviceqname[0];
|
public java.lang.String | getWsdlfile()
return (this.wsdlfile);
|
public void | setDisplayname(java.lang.String displayname)
this.displayname = displayname;
|
public void | setIcon(java.lang.String icon)
this.icon = icon;
|
public void | setJaxrpcmappingfile(java.lang.String jaxrpcmappingfile)
this.jaxrpcmappingfile = jaxrpcmappingfile;
|
public void | setServiceqname(java.lang.String[] serviceqname)
this.serviceqname = serviceqname;
|
public void | setServiceqname(java.lang.String serviceqname, int i)
this.serviceqname[i] = serviceqname;
|
public void | setServiceqnameLocalpart(java.lang.String localpart)
this.serviceqname[1] = localpart;
|
public void | setServiceqnameNamespaceURI(java.lang.String namespaceuri)
this.serviceqname[0] = namespaceuri;
|
public void | setWsdlfile(java.lang.String wsdlfile)
this.wsdlfile = wsdlfile;
|
public java.lang.String | toString()Return a String representation of this object.
StringBuffer sb = new StringBuffer("ContextService[");
sb.append("name=");
sb.append(getName());
if (getDescription() != null) {
sb.append(", description=");
sb.append(getDescription());
}
if (getType() != null) {
sb.append(", type=");
sb.append(getType());
}
if (displayname != null) {
sb.append(", displayname=");
sb.append(displayname);
}
if (icon != null) {
sb.append(", icon=");
sb.append(icon);
}
if (wsdlfile != null) {
sb.append(", wsdl-file=");
sb.append(wsdlfile);
}
if (jaxrpcmappingfile != null) {
sb.append(", jaxrpc-mapping-file=");
sb.append(jaxrpcmappingfile);
}
if (serviceqname[0] != null) {
sb.append(", service-qname/namespaceURI=");
sb.append(serviceqname[0]);
}
if (serviceqname[1] != null) {
sb.append(", service-qname/localpart=");
sb.append(serviceqname[1]);
}
if (this.getServiceendpoints() != null) {
sb.append(", port-component/service-endpoint-interface=");
sb.append(this.getServiceendpoints());
}
if (handlers != null) {
sb.append(", handler=");
sb.append(handlers);
}
sb.append("]");
return (sb.toString());
|