-
- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
addSpecificationLink(SpecificationLink specificationLink)
Adds a child SpecificationLink.void
addSpecificationLinks(Collection specificationLinks)
Adds a Collection of SpecificationLink children.String
getAccessURI()
Gets the URI that gives access to the service via this binding.Service
getService()
Gets the parent service for which this is a binding.Collection
getSpecificationLinks()
Gets all children SpecificationLinks.ServiceBinding
getTargetBinding()
Gets the next ServiceBinding in case there is a redirection from one service provider to another service provider.void
removeSpecificationLink(SpecificationLink specificationLink)
Removes a child SpecificationLink.void
removeSpecificationLinks(Collection specificationLinks)
Removes a Collection of children SpecificationLinks.void
setAccessURI(String uri)
Sets the URI that gives access to the service via this binding.void
setTargetBinding(ServiceBinding binding)
Sets the next ServiceBinding in case there is a redirection.-
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
-
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
-
Methods inherited from interface javax.xml.registry.infomodel.URIValidator
getValidateURI, setValidateURI
-
-
-
-
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
-
addSpecificationLink
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
-
addSpecificationLinks
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
-
removeSpecificationLink
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
-
removeSpecificationLinks
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
-
getSpecificationLinks
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
-
-
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/xml/registry/infomodel/ServiceBinding.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.