|
Java EE 5 SDK | ||||||||
| 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 error
void addServiceBinding(ServiceBinding serviceBinding)
throws JAXRException
serviceBinding - the ServiceBinding being added
JAXRException - If the JAXR provider encounters an internal error
void addServiceBindings(Collection serviceBindings)
throws JAXRException
serviceBindings - the Collection of ServiceBindings being added
JAXRException - If the JAXR provider encounters an internal error
void removeServiceBinding(ServiceBinding serviceBinding)
throws JAXRException
serviceBinding - the ServiceBinding being removed
JAXRException - If the JAXR provider encounters an internal error
void removeServiceBindings(Collection serviceBindings)
throws JAXRException
serviceBindings - the Collection of ServiceBindings being removed
JAXRException - If the JAXR provider encounters an internal error
Collection getServiceBindings()
throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorServiceBinding
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.