|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Service
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 |
---|
Organization getProvidingOrganization() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorRegistryObject.getSubmittingOrganization()
void setProvidingOrganization(Organization providingOrganization) throws JAXRException
providingOrganization
- the Organization that provides this service
JAXRException
- If the JAXR provider encounters an internal errorvoid addServiceBinding(ServiceBinding serviceBinding) throws JAXRException
serviceBinding
- the ServiceBinding being added
JAXRException
- If the JAXR provider encounters an internal errorvoid addServiceBindings(Collection serviceBindings) throws JAXRException
serviceBindings
- the Collection of ServiceBindings being added
JAXRException
- If the JAXR provider encounters an internal errorvoid removeServiceBinding(ServiceBinding serviceBinding) throws JAXRException
serviceBinding
- the ServiceBinding being removed
JAXRException
- If the JAXR provider encounters an internal errorvoid removeServiceBindings(Collection serviceBindings) throws JAXRException
serviceBindings
- the Collection of ServiceBindings being removed
JAXRException
- If the JAXR provider encounters an internal errorCollection getServiceBindings() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorServiceBinding
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.