|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.registry.infomodel Interface Service
- All Superinterfaces:
- ExtensibleObject, RegistryEntry, RegistryObject, Versionable
public interface Service
- extends RegistryEntry
Implements:
RegistryEntry
Service 实例是提供关于 Organization 所提供服务(例如,Web 服务)的信息的 RegistryObject。一个 Service 可以包含一组 ServiceBinding 实例。映射到 UDDI 中的 BusinessService。
See also | javax.xml.registry.infomodel.ServiceBinding |
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 | |
---|---|
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
获取提供此服务的 Organization。提供服务的 Organization 可以为 null。提供服务的 Organization 可以不同于 RegistryObject#getSubmittingOrganization 定义的 Submitting Organization。
- 功能级别:0
return | 提供此服务的 Organization |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
See also | getSubmittingOrganization() |
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()
public void
setProvidingOrganization(Organization providingOrganization) throws JAXRException
设置提供此服务的 Organization。
- 功能级别:0
providingOrganization | 提供此服务的 Organization |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
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
public void
addServiceBinding(ServiceBinding serviceBinding) throws JAXRException
添加一个子 ServiceBinding。
- 功能级别:0
serviceBinding | 将添加的 ServiceBinding |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
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
public void
addServiceBindings(java.util.Collection<E> serviceBindings) throws JAXRException
添加一个 ServiceBinding 子代所组成的 Collection。
添加一个 ServiceBinding 子代所组成的 Collection。
- 功能级别:0
serviceBindings | 将添加的 ServiceBinding 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
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
public void
removeServiceBinding(ServiceBinding serviceBinding) throws JAXRException
移除一个子 ServiceBinding。
- 功能级别:0
serviceBinding | 将移除的 ServiceBinding |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
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
public void
removeServiceBindings(java.util.Collection<E> serviceBindings) throws JAXRException
移除一个 ServiceBinding 子代所组成的 Collection。
移除一个 ServiceBinding 子代所组成的 Collection。
- 功能级别:0
serviceBindings | 将添加的 ServiceBinding 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
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
public java.util.Collection<E>
getServiceBindings() throws JAXRException
获取所有子代 ServiceBinding。
- 功能级别:0
return | ServiceBinding 实例所组成的 Collection。Collection 可以为空,但不能为 null。 | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
supplierCardinality | 1..* | |
associates | <{javax.xml.registry.infomodel.ServiceBinding}> | |
link |
| |
See also | javax.xml.registry.infomodel.ServiceBinding |
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!