Top Description Methods
javax.xml.registry.infomodel

public Interface ServiceBinding

extends RegistryObject, URIValidator
Imports
javax.xml.registry.*, java.util.*

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

Modifier and TypeMethod and Description
public String

Returns:

the URI that gives access to the service via this binding
getAccessURI
()

Gets the URI that gives access to the service via this binding.

public Service

Returns:

the parent Service object
getService
()

Gets the parent service for which this is a binding.

public ServiceBinding

Returns:

the next ServiceBinding in case there is a service redirection
getTargetBinding
()

Gets the next ServiceBinding in case there is a redirection from one service provider to another service provider.

public void
setAccessURI(String
the URI that gives access to the service via this binding
uri
)

Sets the URI that gives access to the service via this binding.

public void
setTargetBinding(ServiceBinding
the target ServiceBinding to which this object is redirected to
binding
)

Sets the next ServiceBinding in case there is a redirection.

Inherited from javax.xml.registry.infomodel.RegistryObject:
addAssociationaddAssociationsaddClassificationaddClassificationsaddExternalIdentifieraddExternalIdentifiersaddExternalLinkaddExternalLinksgetAssociatedObjectsgetAssociationsgetAuditTrailgetClassificationsgetDescriptiongetExternalIdentifiersgetExternalLinksgetKeygetLifeCycleManagergetNamegetObjectTypegetRegistryPackagesgetSubmittingOrganizationremoveAssociationremoveAssociationsremoveClassificationremoveClassificationsremoveExternalIdentifierremoveExternalIdentifiersremoveExternalLinkremoveExternalLinkssetAssociationssetClassificationssetDescriptionsetExternalIdentifierssetExternalLinkssetKeysetNametoXML
Inherited from javax.xml.registry.infomodel.URIValidator:
getValidateURIsetValidateURI

Method Detail

getAccessURIback to summary
public 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:String

the URI that gives access to the service via this binding

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
getServiceback to summary
public Service getService() throws JAXRException

Gets the parent service for which this is a binding.

Capability Level: 0
Returns:Service

the parent Service object

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
getTargetBindingback to summary
public 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:ServiceBinding

the next ServiceBinding in case there is a service redirection

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
setAccessURIback to summary
public 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:String

the URI that gives access to the service via this binding

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
setTargetBindingback to summary
public 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:ServiceBinding

the target ServiceBinding to which this object is redirected to

Exceptions
JAXRException:
If the JAXR provider encounters an internal error