| 
 | JTR 5.0 API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjtr.config.ws.WebServiceConfig
public class WebServiceConfig
This class is the object oriented representation of the content
 of a webservice element of the jtr.xml
 configuration file.
 Every webservice description is logically associated
 with a WSDL, thus you are required to point out a valid WSDL location
 as an URL when defining every webservice element.
 Nested in a WebServiceConfig there might be one or more
 services according to your needs. Each service is represented by
 a WebServiceService instance.
WebServiceService, 
Serialized Form| Constructor Summary | |
|---|---|
| WebServiceConfig()Default constructor. | |
| Method Summary | |
|---|---|
|  void | addService(WebServiceService service)Add a webservice definition to the current configuration. | 
|  WebServiceService | getService(javax.xml.namespace.QName qName)Get a simgle service by qualified name. | 
|  WebServiceService | getService(java.lang.String nameSpace,
           java.lang.String name)Get a simgle service by qualified name. | 
|  java.util.Collection<WebServiceService> | getServices()Return the collection of currently configured services. | 
|  java.lang.String | getUniqueName()Get this webservice configuration's unique name. | 
|  java.lang.String | getWsdlLocation()Get the WSDL's location. | 
|  void | setServices(java.util.Collection<WebServiceService> services)Set the collection of services for the current JTR webservice configuration. | 
|  void | setUniqueName(java.lang.String uniqueName)Set the unique name of this JTR webservice configuration. | 
|  void | setWsdlLocation(java.lang.String wsdlLocation)Set the location of the WSDL file associated with the current JTR webservice configuration. This location has to be expressed as a valid URI. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public WebServiceConfig()
| Method Detail | 
|---|
public void addService(WebServiceService service)
service - The new service descriptionpublic java.util.Collection<WebServiceService> getServices()
public java.lang.String getUniqueName()
public void setWsdlLocation(java.lang.String wsdlLocation)
wsdlLocation - The WSDL locationpublic void setServices(java.util.Collection<WebServiceService> services)
services - The servicespublic void setUniqueName(java.lang.String uniqueName)
uniqueName - The unique namepublic java.lang.String getWsdlLocation()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
public WebServiceService getService(java.lang.String nameSpace,
                                    java.lang.String name)
null.
nameSpace - name - 
public WebServiceService getService(javax.xml.namespace.QName qName)
null.
qName - 
| 
 | The JTR Project is licensed under GPL version 2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||