javax.xml.registry.infomodel

Interface ServiceBinding

  • All Superinterfaces:
    ExtensibleObject, RegistryObject, URIValidator

    public interface ServiceBinding
    extends RegistryObject, URIValidator
    ServiceBinding instances are RegistryObjects that represent technical information on a specific way to access a specific interface offered by a Service instance. A ServiceBinding may have a set of SpecificationLink instances. Maps to a BindingTemplate in UDDI.
    Author:
    Farrukh S. Najmi
    See Also:
    Concept
    • Method Detail

      • getAccessURI

        String getAccessURI()
                     throws JAXRException
        Gets the URI that gives access to the service via this binding. Default is a NULL String.

        Capability Level: 0
        Returns:
        the URI that gives access to the service via this binding
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setAccessURI

        void setAccessURI(String uri)
                   throws JAXRException
        Sets the URI that gives access to the service via this binding. The accessURI is mutually exclusive from targetBinding. JAXR Provider must throw an InvalidRequestException if an accessURI is set when there is already a non-null targetBinding defined.

        Capability Level: 0
        Parameters:
        uri - the URI that gives access to the service via this binding
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getTargetBinding

        ServiceBinding getTargetBinding()
                                 throws JAXRException
        Gets the next ServiceBinding in case there is a redirection from one service provider to another service provider.

        Capability Level: 0
        Returns:
        the next ServiceBinding in case there is a service redirection
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setTargetBinding

        void setTargetBinding(ServiceBinding binding)
                       throws JAXRException
        Sets the next ServiceBinding in case there is a redirection. The targetBinding is mutually exclusive from the accessURI. JAXR Provider must throw an InvalidRequestExcpetion if a targetBinding is set when there is already a non-null accessURI defined.

        Capability Level: 0
        Parameters:
        binding - the target ServiceBinding to which this object is redirected to
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getService

        Service getService()
                    throws JAXRException
        Gets the parent service for which this is a binding.

        Capability Level: 0
        Returns:
        the parent Service object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • void addSpecificationLink(SpecificationLink specificationLink)
                           throws JAXRException
        Adds a child SpecificationLink.

        Capability Level: 0
        Parameters:
        specificationLink - the SpecificationLink being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • void addSpecificationLinks(Collection specificationLinks)
                            throws JAXRException
        Adds a Collection of SpecificationLink children.

        Capability Level: 0
        Parameters:
        specificationLinks - the Collection of SpecificationLinks being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • void removeSpecificationLink(SpecificationLink specificationLink)
                              throws JAXRException
        Removes a child SpecificationLink.

        Capability Level: 0
        Parameters:
        specificationLink - the SpecificationLink being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • void removeSpecificationLinks(Collection specificationLinks)
                               throws JAXRException
        Removes a Collection of children SpecificationLinks.

        Capability Level: 0
        Parameters:
        specificationLinks - the Collection of SpecificationLinks being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • Collection getSpecificationLinks()
                                  throws JAXRException
        Gets all children SpecificationLinks.

        Capability Level: 0
        Returns:
        Collection of SpecificationLink instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        SpecificationLink

Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/xml/registry/infomodel/servicebinding.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.