|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry.infomodel Interface ServiceBinding
- 所有父接口:
- ExtensibleObject, RegistryObject, URIValidator
public interface ServiceBinding
- extends RegistryObject, URIValidator
ServiceBinding instances are RegistryObjects that represent technical information on a specific way to access a specific interface offered by a Service instance. A ServiceBinding may have a set of SpecificationLink instances. Maps to a BindingTemplate in UDDI.
- 作者:
- Farrukh S. Najmi
- 另请参见:
Concept
方法摘要 | |
---|---|
void |
addSpecificationLink(SpecificationLink specificationLink)
Adds a child SpecificationLink. |
void |
addSpecificationLinks(Collection specificationLinks)
Adds a Collection of SpecificationLink children. |
String |
getAccessURI()
Gets the URI that gives access to the service via this binding. |
Service |
getService()
Gets the parent service for which this is a binding. |
Collection |
getSpecificationLinks()
Gets all children SpecificationLinks. |
ServiceBinding |
getTargetBinding()
Gets the next ServiceBinding in case there is a redirection from one service provider to another service provider. |
void |
removeSpecificationLink(SpecificationLink specificationLink)
Removes a child SpecificationLink. |
void |
removeSpecificationLinks(Collection specificationLinks)
Removes a Collection of children SpecificationLinks. |
void |
setAccessURI(String uri)
Sets the URI that gives access to the service via this binding. |
void |
setTargetBinding(ServiceBinding binding)
Sets the next ServiceBinding in case there is a redirection. |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Methods inherited from interface javax.xml.registry.infomodel.URIValidator |
---|
getValidateURI, setValidateURI |
方法详细信息 |
---|
getAccessURI
String getAccessURI() throws JAXRException
- Gets the URI that gives access to the service via this binding.
Default is a NULL String.
- Capability Level: 0
- 返回:
- the URI that gives access to the service via this binding
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setAccessURI
void setAccessURI(String uri) throws JAXRException
- Sets the URI that gives access to the service via this binding.
The accessURI is mutually exclusive from targetBinding. JAXR Provider must
throw an InvalidRequestException if an accessURI is set when there is
already a non-null targetBinding defined.
- Capability Level: 0
- 参数:
uri
- the URI that gives access to the service via this binding- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getTargetBinding
ServiceBinding getTargetBinding() throws JAXRException
- Gets the next ServiceBinding in case there is a redirection from
one service provider to another service provider.
- Capability Level: 0
- 返回:
- the next ServiceBinding in case there is a service redirection
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setTargetBinding
void setTargetBinding(ServiceBinding binding) throws JAXRException
- Sets the next ServiceBinding in case there is a redirection.
The targetBinding is mutually exclusive from the accessURI. JAXR Provider must
throw an InvalidRequestExcpetion if a targetBinding is set when there is
already a non-null accessURI defined.
- Capability Level: 0
- 参数:
binding
- the target ServiceBinding to which this object is redirected to- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getService
Service getService() throws JAXRException
- Gets the parent service for which this is a binding.
- Capability Level: 0
- 返回:
- the parent Service object
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
addSpecificationLink
void addSpecificationLink(SpecificationLink specificationLink) throws JAXRException
- Adds a child SpecificationLink.
- Capability Level: 0
- 参数:
specificationLink
- the SpecificationLink being added- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
addSpecificationLinks
void addSpecificationLinks(Collection specificationLinks) throws JAXRException
- Adds a Collection of SpecificationLink children.
- Capability Level: 0
- 参数:
specificationLinks
- the Collection of SpecificationLinks being added- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
removeSpecificationLink
void removeSpecificationLink(SpecificationLink specificationLink) throws JAXRException
- Removes a child SpecificationLink.
- Capability Level: 0
- 参数:
specificationLink
- the SpecificationLink being removed- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
removeSpecificationLinks
void removeSpecificationLinks(Collection specificationLinks) throws JAXRException
- Removes a Collection of children SpecificationLinks.
- Capability Level: 0
- 参数:
specificationLinks
- the Collection of SpecificationLinks being removed- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getSpecificationLinks
Collection getSpecificationLinks() throws JAXRException
- Gets all children SpecificationLinks.
- Capability Level: 0
- 返回:
- Collection of SpecificationLink instances. The Collection may be empty but not null.
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
SpecificationLink
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.