public class ServiceBindingImpl extends RegistryObjectImpl implements ServiceBinding, Serializable
| Constructor and Description |
|---|
ServiceBindingImpl()
Default constructor initializes list and creates
URIValidatorImpl object for delgating uri validations
tasks.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSpecificationLink(SpecificationLink link)
Add specification link.
|
void |
addSpecificationLinks(Collection specificationLinks)
Add 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()
Get specification links
|
ServiceBinding |
getTargetBinding()
Gets the next ServiceInterfaceBinding in case there is a redirection
|
boolean |
getValidateURI()
Whether or not validation is turned on
|
void |
removeSpecificationLink(SpecificationLink specificationLink)
Remove a child SpecificationLink
|
void |
removeSpecificationLinks(Collection specificationLinks)
Remove a Collection of children SpecificationLinks.
|
void |
setAccessURI(String uri)
Sets the URI that gives access to the service via this binding.
|
void |
setService(Service service)
Internal method for setting service
|
void |
setSpecificationLinks(Collection links)
Internal method to set the specification links
|
void |
setTargetBinding(ServiceBinding binding)
Sets the next ServiceInterfaceBinding in case there is a redirection.
|
void |
setValidateURI(boolean validate)
Turns validation on or off.
|
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, addSlot, addSlots, areAssociationsLoaded, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getRegistryService, getServiceId, getSubmittingOrganization, isDeleted, isLoaded, isModified, isNew, isRetrieved, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, removeSlot, removeSlots, setAssociations, setAssociationsLoaded, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setIsDeleted, setIsLoaded, setIsModified, setIsNew, setIsRetrieved, setKey, setLifeCycleManager, setName, setObjectType, setRegistryService, setServiceId, setStatusFlags, setSubmittingOrganization, toXMLgetSlot, getSlotsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAssociation, 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, toXMLaddSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotspublic ServiceBindingImpl()
public String getAccessURI() throws JAXRException
getAccessURI in interface ServiceBindingJAXRException - If the JAXR provider encounters an internal errorpublic void setAccessURI(String uri) throws JAXRException
setAccessURI in interface ServiceBindinguri - the URI that gives access to the service via this bindingJAXRException - If the JAXR provider encounters an internal errorpublic ServiceBinding getTargetBinding() throws JAXRException
getTargetBinding in interface ServiceBindingJAXRException - If the JAXR provider encounters an internal errorpublic void setTargetBinding(ServiceBinding binding) throws JAXRException
setTargetBinding in interface ServiceBindingbinding - the target ServiceBinding to which this object is redirected toJAXRException - If the JAXR provider encounters an internal errorpublic Service getService() throws JAXRException
getService in interface ServiceBindingJAXRException - If the JAXR provider encounters an internal errorpublic void setService(Service service)
public Collection getSpecificationLinks() throws JAXRException
getSpecificationLinks in interface ServiceBindingJAXRException - If the JAXR provider encounters an internal errorSpecificationLinkpublic void addSpecificationLink(SpecificationLink link) throws JAXRException
addSpecificationLink in interface ServiceBindinglink - the SpecificationLink being addedJAXRException - If the JAXR provider encounters an internal errorpublic void addSpecificationLinks(Collection specificationLinks) throws JAXRException
addSpecificationLinks in interface ServiceBindingspecificationLinks - the Collection of SpecificationLinks being addedJAXRException - If the JAXR provider encounters an internal errorpublic void removeSpecificationLink(SpecificationLink specificationLink) throws JAXRException
removeSpecificationLink in interface ServiceBindingspecificationLink - the SpecificationLink being removedJAXRException - If the JAXR provider encounters an internal errorpublic void removeSpecificationLinks(Collection specificationLinks) throws JAXRException
removeSpecificationLinks in interface ServiceBindingspecificationLinks - the Collection of SpecificationLinks being removedJAXRException - If the JAXR provider encounters an internal errorpublic void setSpecificationLinks(Collection links) throws JAXRException
JAXRExceptionpublic void setValidateURI(boolean validate)
setValidateURI in interface URIValidatorvalidate - true implies JAXR provider must perform validation
of URIs when they are set; false implies validation is turned offURIValidatorImplpublic boolean getValidateURI()
getValidateURI in interface URIValidatortrue implies JAXR provider must perform validation
of URIs when they are set; false implies validation is turned offURIValidatorImplCopyright © 2005–2017 Oracle Corporation. All rights reserved.