JTR 4.0 API Documentation

jtr.ws.wsif
Class WebServiceRtConfig

java.lang.Object
  extended by jtr.ws.wsif.WebServiceRtConfig

public class WebServiceRtConfig
extends java.lang.Object

This class is used by WsifHelper instances to internally store a WSIF-based webservice configuration.
This class can be thought as the runtime counterpart of the jtr.config.ws.WebServiceConfig class, and as such it is composed by a set of services (WebServiceRtService instances) uniquely identified by their qualified name.

Since:
3.0
Version:
4.0
Author:
Francesco Russo (frusso@dev.java.net)
See Also:
WebServiceConfig

Constructor Summary
WebServiceRtConfig()
          Default constructor.
 
Method Summary
 void addService(javax.xml.namespace.QName qname, WebServiceRtService service)
          Adds a runtime service description to the current configuration.
 WebServiceRtService getService(javax.xml.namespace.QName qname)
          Get a particular service (if it exists) providing its qualified name.
 WebServiceRtService getService(java.lang.String nameSpace, java.lang.String name)
          Get a particular service (if it exists) providing its namespace and its name.
 java.util.HashMap<javax.xml.namespace.QName,WebServiceRtService> getServices()
          Get the HashMap storing all the configured services.
 void setServices(java.util.HashMap<javax.xml.namespace.QName,WebServiceRtService> services)
          Set a brand new set of services represented by the required HashMap.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceRtConfig

public WebServiceRtConfig()
Default constructor.

Method Detail

addService

public void addService(javax.xml.namespace.QName qname,
                       WebServiceRtService service)
Adds a runtime service description to the current configuration.

Parameters:
qname - The service qualified name
service - The runtime service description

getServices

public java.util.HashMap<javax.xml.namespace.QName,WebServiceRtService> getServices()
Get the HashMap storing all the configured services.

Returns:
HashMap

setServices

public void setServices(java.util.HashMap<javax.xml.namespace.QName,WebServiceRtService> services)
Set a brand new set of services represented by the required HashMap.

Parameters:
services - The set of services

getService

public WebServiceRtService getService(java.lang.String nameSpace,
                                      java.lang.String name)
Get a particular service (if it exists) providing its namespace and its name.

Parameters:
nameSpace - The service namespace
name - The service name
Returns:
WebServiceRtService The actual runtime service description (if configured)

getService

public WebServiceRtService getService(javax.xml.namespace.QName qname)
Get a particular service (if it exists) providing its qualified name.

Parameters:
qname - service qualified name
Returns:
WebServiceRtService The actual runtime service description (if configured)

The JTR Project is licensed under GPL version 2