toolbox.uddi
Class ServiceInfo

Package class diagram package ServiceInfo
java.lang.Object
  extended by toolbox.uddi.ServiceInfo

public class ServiceInfo
extends java.lang.Object

Simple Java Bean to encapsulate the essential properties of a WSDL based service.

The current implementation assumes the following with regards to the WSDL that defines the service:


Constructor Summary
ServiceInfo()
          Default constructor.
 
Method Summary
 java.lang.String getAccessPoint()
          Return the access point URL of the service described by this ServiceInfo instance.
 java.lang.String getBindingName()
          Return the binding name that is employed by the service that is described by this ServiceInfo instance.
 java.lang.String getName()
          Return the name of this ServiceInfo instance.
 java.lang.String getNamespace()
          Return the namespace of the service that is described by this ServiceInfo instance.
 java.lang.String getPortName()
          Return the name of the service port that is described by this ServiceInfo instance.
 java.lang.String getPortTypeName()
          Return the port type name that is implemented by the service described in this ServiceInfo instance.
 java.lang.String getProvider()
          Return the name of the UDDI Provider/Business.
 java.lang.String getServiceName()
          Return the name of the service that is described by this ServiceInfo instance.
 java.lang.String getWsdlUrl()
          Return the WSDL URL of the service described by this ServiceInfo instance.
 void setAccessPoint(java.lang.String accessPoint)
          Set the access point URL of the service described by this ServiceInfo instance.
 void setBindingName(java.lang.String bindingName)
          Set name of the binding employed by the service described in this ServiceInfo instance.
 void setName(java.lang.String name)
          Set the name that must be used to identify this ServiceInfo instance.
 void setNamespace(java.lang.String namespace)
          Set the namespace of the service described by this ServiceInfo instance.
 void setPortName(java.lang.String portName)
          Set the name of the service port that is described by this ServiceInfo instance.
 void setPortTypeName(java.lang.String portTypeName)
          Return the name of the port type (interface) that is implemented by the service described in this ServiceInfo instance.
 void setProvider(java.lang.String provider)
          Set the name of the UDDI Business that acts as the provider of the service that is described by this ServiceInfo instance.
 void setServiceName(java.lang.String serviceName)
          Set the name of the service that is described by this ServiceInfo instance.
 void setWsdlUrl(java.lang.String wsdlUrl)
          Set the WSDL URL of the service described by this ServiceInfo instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInfo

public ServiceInfo()
Default constructor.

Method Detail

setName

public void setName(java.lang.String name)
Set the name that must be used to identify this ServiceInfo instance.

This name will be used locally and does not reflect any WSDL specific information.

Parameters:
name - String containing the name of this ServiceInfo instance.

getName

public java.lang.String getName()
Return the name of this ServiceInfo instance.

Returns:
String containing the name of this ServiceInfo instance.

setProvider

public void setProvider(java.lang.String provider)
Set the name of the UDDI Business that acts as the provider of the service that is described by this ServiceInfo instance.

Parameters:
provider - String containing the the name of a UDDI Provider/Business.

getProvider

public java.lang.String getProvider()
Return the name of the UDDI Provider/Business.

Returns:
String containing the name of UDDI Provider/Business.

setServiceName

public void setServiceName(java.lang.String serviceName)
Set the name of the service that is described by this ServiceInfo instance.

This property value must be equal to the name attribute of the wsdl:service element.

Parameters:
serviceName - String containing the name of the service that is described by this ServiceInfo instance.

getServiceName

public java.lang.String getServiceName()
Return the name of the service that is described by this ServiceInfo instance.

Returns:
String containing the name of the service that is described by this ServiceInfo instance.

setNamespace

public void setNamespace(java.lang.String namespace)
Set the namespace of the service described by this ServiceInfo instance.

Parameters:
namespace - String containing the namespace.

getNamespace

public java.lang.String getNamespace()
Return the namespace of the service that is described by this ServiceInfo instance.

Returns:
String containing the namespace.

setPortName

public void setPortName(java.lang.String portName)
Set the name of the service port that is described by this ServiceInfo instance.

This property value must be equal to the name attribute of the wsdl:port element contained in the wsdl:service element.

Parameters:
portName - String containing the name of the service port that is described by this ServiceInfo instance.

getPortName

public java.lang.String getPortName()
Return the name of the service port that is described by this ServiceInfo instance.

Returns:
String containing the name of the service port that is described by this ServiceInfo instance.

setPortTypeName

public void setPortTypeName(java.lang.String portTypeName)
Return the name of the port type (interface) that is implemented by the service described in this ServiceInfo instance.

Parameters:
portTypeName - String containing the name of the port type.

getPortTypeName

public java.lang.String getPortTypeName()
Return the port type name that is implemented by the service described in this ServiceInfo instance.

Returns:
String containing the name of the port type.

setBindingName

public void setBindingName(java.lang.String bindingName)
Set name of the binding employed by the service described in this ServiceInfo instance.

Parameters:
bindingName - String containing the binding name.

getBindingName

public java.lang.String getBindingName()
Return the binding name that is employed by the service that is described by this ServiceInfo instance.

Returns:
String containing the binding name.

setAccessPoint

public void setAccessPoint(java.lang.String accessPoint)
Set the access point URL of the service described by this ServiceInfo instance.

In most cases this will be the value of the location attribute within the soap:address element of the WSDL.

Parameters:
accessPoint - String containing the access point URL.

getAccessPoint

public java.lang.String getAccessPoint()
Return the access point URL of the service described by this ServiceInfo instance.

Returns:
String containing the access point URL.

setWsdlUrl

public void setWsdlUrl(java.lang.String wsdlUrl)
Set the WSDL URL of the service described by this ServiceInfo instance.

Parameters:
wsdlUrl - String containing the WSDL URL.

getWsdlUrl

public java.lang.String getWsdlUrl()
Return the WSDL URL of the service described by this ServiceInfo instance.

Returns:
String containing the WSDL URL.