Top Description Fields Methods
javax.xml.registry.infomodel

public Interface Service

extends RegistryEntry
Imports
javax.xml.registry.*, java.util.*

Service instances are RegistryObjects that provide information on services (for example, web services) offered by an Organization. A Service may have a set of ServiceBinding instances. Maps to a BusinessService in UDDI.
Author
Farrukh S. Najmi
See Also
ServiceBinding

Field Summary

Inherited from javax.xml.registry.infomodel.RegistryEntry:
STABILITY_DYNAMICSTABILITY_DYNAMIC_COMPATIBLESTABILITY_STATICSTATUS_APPROVEDSTATUS_DEPRECATEDSTATUS_SUBMITTEDSTATUS_WITHDRAWN

Method Summary

Modifier and TypeMethod and Description
public void
addServiceBinding(ServiceBinding
the ServiceBinding being added
serviceBinding
)

Adds a child ServiceBinding.

public void
addServiceBindings(Collection<E>
the Collection of ServiceBindings being added
serviceBindings
)

Adds a Collection of ServiceBinding children.

public Organization

Returns:

the Organization that provides this service
getProvidingOrganization
()

Gets the Organization that provides this service.

public Collection<E>

Returns:

Collection of ServiceBinding instances. The Collection may be empty but not null.
getServiceBindings
()

Gets all children ServiceBindings.

public void
removeServiceBinding(ServiceBinding
the ServiceBinding being removed
serviceBinding
)

Removes a child ServiceBinding.

public void
removeServiceBindings(Collection<E>
the Collection of ServiceBindings being removed
serviceBindings
)

Removes a Collection of children ServiceBindings.

public void
setProvidingOrganization(Organization
the Organization that provides this service
providingOrganization
)

Sets the Organization that provides this service.

Inherited from javax.xml.registry.infomodel.RegistryEntry:
getExpirationgetStabilitygetStatussetExpirationsetStability

Method Detail

addServiceBindingback to summary
public void addServiceBinding(ServiceBinding serviceBinding) throws JAXRException

Adds a child ServiceBinding.

Capability Level: 0
Parameters
serviceBinding:ServiceBinding

the ServiceBinding being added

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
addServiceBindingsback to summary
public void addServiceBindings(Collection<E> serviceBindings) throws JAXRException

Adds a Collection of ServiceBinding children.

Capability Level: 0
Parameters
serviceBindings:Collection<E>

the Collection of ServiceBindings being added

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
getProvidingOrganizationback to summary
public Organization getProvidingOrganization() throws JAXRException

Gets the Organization that provides this service. Providing Organization may be null. The providing Organization may be different from the Submitting Organization as defined by RegistryObject#getSubmittingOrganization.

Capability Level: 0
Returns:Organization

the Organization that provides this service

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
See Also
RegistryObject#getSubmittingOrganization()
getServiceBindingsback to summary
public Collection<E> getServiceBindings() throws JAXRException

Gets all children ServiceBindings.

Capability Level: 0
Returns:Collection<E>

Collection of ServiceBinding instances. The Collection may be empty but not null.

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
See Also
javax.xml.registry.infomodel.ServiceBinding
removeServiceBindingback to summary
public void removeServiceBinding(ServiceBinding serviceBinding) throws JAXRException

Removes a child ServiceBinding.

Capability Level: 0
Parameters
serviceBinding:ServiceBinding

the ServiceBinding being removed

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
removeServiceBindingsback to summary
public void removeServiceBindings(Collection<E> serviceBindings) throws JAXRException

Removes a Collection of children ServiceBindings.

Capability Level: 0
Parameters
serviceBindings:Collection<E>

the Collection of ServiceBindings being removed

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
setProvidingOrganizationback to summary
public void setProvidingOrganization(Organization providingOrganization) throws JAXRException

Sets the Organization that provides this service.

Capability Level: 0
Parameters
providingOrganization:Organization

the Organization that provides this service

Exceptions
JAXRException:
If the JAXR provider encounters an internal error