Package javax.xml.registry.infomodel
Interface Service
- All Superinterfaces:
ExtensibleObject,RegistryEntry,RegistryObject,Versionable
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:
-
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
Modifier and TypeMethodDescriptionvoidaddServiceBinding(ServiceBinding serviceBinding) Adds a child ServiceBinding.voidaddServiceBindings(Collection serviceBindings) Adds a Collection of ServiceBinding children.Gets the Organization that provides this service.Gets all children ServiceBindings.voidremoveServiceBinding(ServiceBinding serviceBinding) Removes a child ServiceBinding.voidremoveServiceBindings(Collection serviceBindings) Removes a Collection of children ServiceBindings.voidsetProvidingOrganization(Organization providingOrganization) Sets the Organization that provides this service.Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotsMethods inherited from interface javax.xml.registry.infomodel.RegistryEntry
getExpiration, getStability, getStatus, setExpiration, setStabilityMethods 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, toXMLMethods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
-
Method Details
-
getProvidingOrganization
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 Jakarta XML Registries provider encounters an internal error- See Also:
-
setProvidingOrganization
Sets the Organization that provides this service.- Capability Level: 0
- Parameters:
providingOrganization- the Organization that provides this service- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
addServiceBinding
Adds a child ServiceBinding.- Capability Level: 0
- Parameters:
serviceBinding- the ServiceBinding being added- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
addServiceBindings
Adds a Collection of ServiceBinding children.- Capability Level: 0
- Parameters:
serviceBindings- the Collection of ServiceBindings being added- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
removeServiceBinding
Removes a child ServiceBinding.- Capability Level: 0
- Parameters:
serviceBinding- the ServiceBinding being removed- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
removeServiceBindings
Removes a Collection of children ServiceBindings.- Capability Level: 0
- Parameters:
serviceBindings- the Collection of ServiceBindings being removed- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getServiceBindings
Gets all children ServiceBindings.- Capability Level: 0
- Returns:
- Collection of ServiceBinding instances. The Collection may be empty but not null.
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error- See Also:
-