javax.xml.registry.infomodel
Interface ServiceBinding

All Superinterfaces:
ExtensibleObject, RegistryObject, java.io.Serializable

public interface ServiceBinding
extends RegistryObject

Maps to a BindingTemplate in UDDI.

See Also:
Concept

Method Summary
 void addSpecificationLink(SpecificationLink specificationLink)
          Add a child SpecificationLink
 void addSpecificationLinks(java.util.Collection specificationLinks)
          Add a Collection of SpecificationLink children
 java.lang.String getAccessURI()
          Gets the URI that gives access to the service via this binding Default is a NULL String.
 Service getService()
          Gets the parent service for which this is a binding
 Service getSpecificationLinkAt(int index)
          Get a child Service at a specified index
 java.util.Collection getSpecificationLinks()
          Get all children SpecificationLinks
 ServiceBinding getTargetBinding()
          Gets the next ServiceInterfaceBinding in case there is a redirection
 void removeSpecificationLink(SpecificationLink specificationLink)
          Remove a child SpecificationLink
 void removeSpecificationLinks(java.util.Collection specificationLinks)
          Remove a Collection of children SpecificationLinks
 void setAccessURI(java.lang.String uri)
          Sets the URI that gives access to the service via this binding.
 void setTargetBinding(ServiceBinding binding)
          Sets the next ServiceInterfaceBinding in case there is a redirection The targetBinding is mutually exclusive from accessURI.
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getName, getObjectType, getOrganization, getPackages, 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, getSlotAt, getSlots, removeSlot, removeSlots
 

Method Detail

getAccessURI

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

Capability Level: 0

setAccessURI

public void setAccessURI(java.lang.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 InvalidRequestExcpetion if an accessURI is set when there is already a non-null targetBinding defined.

Capability Level: 0

getTargetBinding

public ServiceBinding getTargetBinding()
                                throws JAXRException
Gets the next ServiceInterfaceBinding in case there is a redirection

Capability Level: 0

setTargetBinding

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

Capability Level: 0

getService

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

Capability Level: 0

addSpecificationLink

public void addSpecificationLink(SpecificationLink specificationLink)
                          throws JAXRException
Add a child SpecificationLink

Capability Level: 0

addSpecificationLinks

public void addSpecificationLinks(java.util.Collection specificationLinks)
                           throws JAXRException
Add a Collection of SpecificationLink children

Capability Level: 0

removeSpecificationLink

public void removeSpecificationLink(SpecificationLink specificationLink)
                             throws JAXRException
Remove a child SpecificationLink

Capability Level: 0

removeSpecificationLinks

public void removeSpecificationLinks(java.util.Collection specificationLinks)
                              throws JAXRException
Remove a Collection of children SpecificationLinks

Capability Level: 0

getSpecificationLinkAt

public Service getSpecificationLinkAt(int index)
                               throws JAXRException
Get a child Service at a specified index

Capability Level: 0

getSpecificationLinks

public java.util.Collection getSpecificationLinks()
                                           throws JAXRException
Get all children SpecificationLinks

Capability Level: 0