|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry.infomodel Interface Service
public interface Service
- extends RegistryEntry
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.
- 作者:
- Farrukh S. Najmi
- 另请参见:
ServiceBinding
字段摘要 |
---|
Fields inherited from interface javax.xml.registry.infomodel.RegistryEntry |
---|
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN |
方法摘要 | |
---|---|
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 |
方法详细信息 |
---|
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
- 返回:
- the Organization that provides this service
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
RegistryObject.getSubmittingOrganization()
setProvidingOrganization
void setProvidingOrganization(Organization providingOrganization) throws JAXRException
- Sets the Organization that provides this service.
- Capability Level: 0
- 参数:
providingOrganization
- the Organization that provides this service- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
addServiceBinding
void addServiceBinding(ServiceBinding serviceBinding) throws JAXRException
- Adds a child ServiceBinding.
- Capability Level: 0
- 参数:
serviceBinding
- the ServiceBinding being added- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
addServiceBindings
void addServiceBindings(Collection serviceBindings) throws JAXRException
- Adds a Collection of ServiceBinding children.
- Capability Level: 0
- 参数:
serviceBindings
- the Collection of ServiceBindings being added- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
removeServiceBinding
void removeServiceBinding(ServiceBinding serviceBinding) throws JAXRException
- Removes a child ServiceBinding.
- Capability Level: 0
- 参数:
serviceBinding
- the ServiceBinding being removed- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
removeServiceBindings
void removeServiceBindings(Collection serviceBindings) throws JAXRException
- Removes a Collection of children ServiceBindings.
- Capability Level: 0
- 参数:
serviceBindings
- the Collection of ServiceBindings being removed- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getServiceBindings
Collection getServiceBindings() throws JAXRException
- Gets all children ServiceBindings.
- Capability Level: 0
- 返回:
- Collection of ServiceBinding instances. The Collection may be empty but not null.
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
ServiceBinding
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.