|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Concept
Method Summary | |
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.ExtensibleObject |
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Methods inherited from interface javax.xml.registry.infomodel.URIValidator |
getValidateURI, setValidateURI |
Method Detail |
public String getAccessURI() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setAccessURI(String uri) throws JAXRException
uri
- the URI that gives access to the service via this binding
JAXRException
- If the JAXR provider encounters an internal errorpublic ServiceBinding getTargetBinding() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setTargetBinding(ServiceBinding binding) throws JAXRException
binding
- the target ServiceBinding to which this object is redirected to
JAXRException
- If the JAXR provider encounters an internal errorpublic Service getService() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void addSpecificationLink(SpecificationLink specificationLink) throws JAXRException
specificationLink
- the SpecificationLink being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void addSpecificationLinks(Collection specificationLinks) throws JAXRException
specificationLinks
- the Collection of SpecificationLinks being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeSpecificationLink(SpecificationLink specificationLink) throws JAXRException
specificationLink
- the SpecificationLink being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeSpecificationLinks(Collection specificationLinks) throws JAXRException
specificationLinks
- the Collection of SpecificationLinks being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic Collection getSpecificationLinks() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorSpecificationLink
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.