IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.wsaddressing
Interface ServiceName

All Superinterfaces:
AttributedType, java.lang.Cloneable, java.io.Serializable

public interface ServiceName
extends AttributedType, java.io.Serializable, java.lang.Cloneable

This interface represents the WS-Addressing service name of the an EndpointReference's WSDL [metadata] element. This element identifies the WSDL service element that contains the definition of the endpoint being conveyed. The service name provides a link to a full description of the service endpoint. An optional non-qualified name identifies the specific port in the service that corresponds to the endpoint.


Method Summary
 java.lang.Object clone()
          Returns a clone of this ServiceName
 java.lang.String getEndpointName()
           
 javax.xml.namespace.QName getQName()
           
 void setEndpointName(java.lang.String endpointName)
           
 void setQName(javax.xml.namespace.QName serviceName)
           
 
Methods inherited from interface com.ibm.wsspi.wsaddressing.AttributedType
addAttribute, getAttributeNames, getAttributeValue
 

Method Detail

getQName

javax.xml.namespace.QName getQName()
Returns:
the QName identifying the WSDL service element that contains the definition of the endpoint being conveyed. If the QName was set to null, null will be returned.

setQName

void setQName(javax.xml.namespace.QName serviceName)
Parameters:
serviceName - The QName identifying the WSDL service element that contains the definition of the endpoint being conveyed.

getEndpointName

java.lang.String getEndpointName()
Returns:
The optional non-qualified name identifies the specific endpoint name in the service that corresponds to the endpoint. In WSDL 1.1, this corresponds to the portName. If the EndpointName was not set or set to null, null will be returned.

setEndpointName

void setEndpointName(java.lang.String endpointName)
Parameters:
endpointName - The optional non-qualified name identifies the specific endpoint name in the service that corresponds to the endpoint In WSDL 1.1, this corresponds to the port name.

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Returns a clone of this ServiceName

Returns:
ServiceName A clone of this ServiceName instance.
Throws:
java.lang.CloneNotSupportedException

IBM WebSphere Application ServerTM
Release 7