|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ServiceBinding
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 |
|---|
String getAccessURI() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorvoid 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 errorServiceBinding getTargetBinding() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorvoid setTargetBinding(ServiceBinding binding) throws JAXRException
binding - the target ServiceBinding to which this object is redirected to
JAXRException - If the JAXR provider encounters an internal errorService getService() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorvoid addSpecificationLink(SpecificationLink specificationLink) throws JAXRException
specificationLink - the SpecificationLink being added
JAXRException - If the JAXR provider encounters an internal errorvoid addSpecificationLinks(Collection specificationLinks) throws JAXRException
specificationLinks - the Collection of SpecificationLinks being added
JAXRException - If the JAXR provider encounters an internal errorvoid removeSpecificationLink(SpecificationLink specificationLink) throws JAXRException
specificationLink - the SpecificationLink being removed
JAXRException - If the JAXR provider encounters an internal errorvoid removeSpecificationLinks(Collection specificationLinks) throws JAXRException
specificationLinks - the Collection of SpecificationLinks being removed
JAXRException - If the JAXR provider encounters an internal errorCollection getSpecificationLinks() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorSpecificationLink
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.