|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 | |
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.ExtensibleObject |
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Methods inherited from interface javax.xml.registry.infomodel.Versionable |
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion |
Method Detail |
public Organization getProvidingOrganization() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorRegistryObject.getSubmittingOrganization()
public void setProvidingOrganization(Organization providingOrganization) throws JAXRException
providingOrganization
- the Organization that provides this service
JAXRException
- If the JAXR provider encounters an internal errorpublic void addServiceBinding(ServiceBinding serviceBinding) throws JAXRException
serviceBinding
- the ServiceBinding being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void addServiceBindings(Collection serviceBindings) throws JAXRException
serviceBindings
- the Collection of ServiceBindings being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeServiceBinding(ServiceBinding serviceBinding) throws JAXRException
serviceBinding
- the ServiceBinding being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeServiceBindings(Collection serviceBindings) throws JAXRException
serviceBindings
- the Collection of ServiceBindings being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic Collection getServiceBindings() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorServiceBinding
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.