Class ServiceRefPortInfo

  • All Implemented Interfaces:
    Serializable

    public class ServiceRefPortInfo
    extends Descriptor
    Information about a single WSDL port or port type in a service reference.
    Author:
    Kenneth Saks
    See Also:
    Serialized Form
    • Constructor Detail

      • ServiceRefPortInfo

        public ServiceRefPortInfo()
    • Method Detail

      • hasServiceEndpointInterface

        public boolean hasServiceEndpointInterface()
      • setServiceEndpointInterface

        public void setServiceEndpointInterface​(String sei)
      • getServiceEndpointInterface

        public String getServiceEndpointInterface()
      • setIsContainerManaged

        public void setIsContainerManaged​(boolean flag)
      • isContainerManaged

        public boolean isContainerManaged()
      • isClientManaged

        public boolean isClientManaged()
      • setPortComponentLinkName

        public void setPortComponentLinkName​(String linkName)
        Sets the name of the port component to which I refer. NOTE : Does *NOT* attempt to resolve link name. Use overloaded version or resolveLink if link resolution is required.
      • hasPortComponentLinkName

        public boolean hasPortComponentLinkName()
      • getPortComponentLinkName

        public String getPortComponentLinkName()
      • isLinkedToPortComponent

        public boolean isLinkedToPortComponent()
        Returns:
        true only if there is a port component link AND it has been resolved to a valid port component within the application.
      • resolveLinkName

        public WebServiceEndpoint resolveLinkName()
        Try to resolve the current link name value to a WebServiceEndpoint object.
        Returns:
        WebServiceEndpoint to which link was resolved, or null if link name resolution failed.
      • setPortComponentLink

        public void setPortComponentLink​(WebServiceEndpoint newPort)
        Parameters:
        portComponenet - the port component to which I refer
      • hasWsdlPort

        public boolean hasWsdlPort()
      • setWsdlPort

        public void setWsdlPort​(QName port)
      • getWsdlPort

        public QName getWsdlPort()
      • getStubProperties

        public Set getStubProperties()
      • hasStubProperty

        public boolean hasStubProperty​(String name)
      • getStubPropertyValue

        public String getStubPropertyValue​(String name)
      • addStubProperty

        public void addStubProperty​(NameValuePairDescriptor property)
        Add stub property, using property name as a key. This will replace the property value of any existing stub property with the same name.
      • removeStubProperty

        public void removeStubProperty​(NameValuePairDescriptor property)
        Remove stub property, using property name as a key. This will remove the property value of an existing stub property with the matching name.
      • addStubProperty

        public void addStubProperty​(String name,
                                    String value)
        Add stub property, using property name as a key. This will replace the property value of any existing stub property with the same name.
      • getCallProperties

        public Set getCallProperties()
      • hasCallProperty

        public boolean hasCallProperty​(String name)
      • addCallProperty

        public void addCallProperty​(NameValuePairDescriptor property)
        Add call property, using property name as a key. This will replace the property value of any existing stub property with the same name.
      • removeCallProperty

        public void removeCallProperty​(NameValuePairDescriptor property)
        Remove call property, using property name as a key. This will remove the property value of an existing stub property with the matching name.
      • hasTargetEndpointAddress

        public boolean hasTargetEndpointAddress()
      • setTargetEndpointAddress

        public void setTargetEndpointAddress​(String address)
      • getTargetEndpointAddress

        public String getTargetEndpointAddress()
      • setMtomEnabled

        public void setMtomEnabled​(String value)
      • getMtomEnabled

        public String getMtomEnabled()