-
- All Superinterfaces:
- ExtensibleObject, RegistryEntry, RegistryObject, Versionable
public interface Service extends RegistryEntry
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
-
Fields inherited from interface javax.xml.registry.infomodel.RegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
addServiceBinding(ServiceBinding serviceBinding)
Adds a child ServiceBinding.void
addServiceBindings(Collection serviceBindings)
Adds a Collection of ServiceBinding children.Organization
getProvidingOrganization()
Gets the Organization that provides this service.Collection
getServiceBindings()
Gets all children ServiceBindings.void
removeServiceBinding(ServiceBinding serviceBinding)
Removes a child ServiceBinding.void
removeServiceBindings(Collection serviceBindings)
Removes a Collection of children ServiceBindings.void
setProvidingOrganization(Organization providingOrganization)
Sets the Organization that provides this service.-
Methods inherited from interface javax.xml.registry.infomodel.RegistryEntry
getExpiration, getStability, getStatus, setExpiration, setStability
-
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, 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, toXML
-
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
-
Methods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
-
-
-
-
Method Detail
-
getProvidingOrganization
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:
- the Organization that provides this service
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
RegistryObject.getSubmittingOrganization()
-
setProvidingOrganization
void setProvidingOrganization(Organization providingOrganization) throws JAXRException
Sets the Organization that provides this service.- Capability Level: 0
- Parameters:
providingOrganization
- the Organization that provides this service- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
addServiceBinding
void addServiceBinding(ServiceBinding serviceBinding) throws JAXRException
Adds a child ServiceBinding.- Capability Level: 0
- Parameters:
serviceBinding
- the ServiceBinding being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
addServiceBindings
void addServiceBindings(Collection serviceBindings) throws JAXRException
Adds a Collection of ServiceBinding children.- Capability Level: 0
- Parameters:
serviceBindings
- the Collection of ServiceBindings being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
removeServiceBinding
void removeServiceBinding(ServiceBinding serviceBinding) throws JAXRException
Removes a child ServiceBinding.- Capability Level: 0
- Parameters:
serviceBinding
- the ServiceBinding being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
removeServiceBindings
void removeServiceBindings(Collection serviceBindings) throws JAXRException
Removes a Collection of children ServiceBindings.- Capability Level: 0
- Parameters:
serviceBindings
- the Collection of ServiceBindings being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
getServiceBindings
Collection getServiceBindings() throws JAXRException
Gets all children ServiceBindings.- Capability Level: 0
- Returns:
- Collection of ServiceBinding instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
ServiceBinding
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
21/08/2025 14:28:57 Cette version de la page est en cache (à la date du 21/08/2025 14:28:57) afin d'accélérer le traitement.Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.
Document créé le 18/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/xml/registry/infomodel/Service.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.