SpecificationLink (Java EE 5)

Java EE API


javax.xml.registry.infomodel Interface SpecificationLink

All Superinterfaces:
ExtensibleObject, RegistryObject

public interface SpecificationLink
extends RegistryObject

Implements: RegistryObject

SpecificationLink 提供 ServiceBinding 与其中一个技术规范(描述如何借助 ServiceBinding 使用服务)之间的链接。例如,ServiceBinding 可能包含一个 SpecificationLink 实例,该实例描述如何使用 WSDL 文档或 CORBA IDL 文档形式的技术规范访问服务。它的作用相当于 UDDI 中 tModelInstanceInfo 和 instanceDetails 结构的联合。
英文文档:

A SpecificationLink provides the linkage between a ServiceBinding and one of its technical specifications that describes how to use the service using the ServiceBinding. For example, a ServiceBinding may have a SpecificationLink instance that describes how to access the service using a technical specification in the form of a WSDL document or a CORBA IDL document. It serves the same purpose as the union of the tModelInstanceInfo and instanceDetails structures in UDDI.

Author:
Farrukh S. Najmi
See Also:
Concept

Method Summary
 ServiceBinding
 RegistryObject
 InternationalString
 Collection
 void
 void
 void
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
 

Method Detail

public RegistryObject getSpecificationObject() throws JAXRException
获取此对象的规范对象。

功能级别:0
return 作为规范对象的 RegistryObject。对于 UDDI 提供者,规范对象必须是没有父级的 Concept。对于 ebXML 提供者,它可能是 ExtrinsicObject。
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
associates <{RegistryObject}>
supplierCardinality1
directed
英文文档:

getSpecificationObject

RegistryObject getSpecificationObject()
                                      throws JAXRException
Gets the specification object for this object.

Capability Level: 0

Returns:
the RegistryObject that is the specification object. For a UDDI provider the specification object must be a Concept with no parent. For an ebXML provider it is likely to be an ExtrinsicObject.
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setSpecificationObject(RegistryObject obj) throws JAXRException
设置此对象的规范对象。

功能级别:0
obj 作为规范对象的 RegistryObject。对于 UDDI 提供者,规范对象必须是没有父级的 Concept。对于 ebXML 提供者,它可能是 ExtrinsicObject。
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setSpecificationObject

void setSpecificationObject(RegistryObject obj)
                            throws JAXRException
Sets the specification object for this object.

Capability Level: 0

Parameters:
obj - the RegistryObject that is the specification object. For a UDDI provider the specification object must be a Concept with no parent. For an ebXML provider it is likely to be an ExtrinsicObject.
Throws:
JAXRException - If the JAXR provider encounters an internal error

public InternationalString getUsageDescription() throws JAXRException
获取使用参数的描述。默认值为空字符串。

功能级别:0
return 此对象的使用描述,不得为 null
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getUsageDescription

InternationalString getUsageDescription()
                                        throws JAXRException
Gets the description of usage parameters. Default is an empty String.

Capability Level: 0

Returns:
the usage description for this object, which must not be null
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setUsageDescription(InternationalString usageDescription) throws JAXRException
设置使用参数的描述。

功能级别:0
usageDescription 此对象的使用参数的描述
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setUsageDescription

void setUsageDescription(InternationalString usageDescription)
                         throws JAXRException
Sets the description of usage parameters.

Capability Level: 0

Parameters:
usageDescription - the description of usage parameters for this object
Throws:
JAXRException - If the JAXR provider encounters an internal error

public java.util.Collection<E> getUsageParameters() throws JAXRException
获取任何使用参数。使用参数是一个任意 String,该 String 描述如何使用可通过此 SpecificationLink 访问的技术规范。每个参数都是一个 String。

功能级别:0
return String 实例所组成的 Collection。Collection 可以为空,但不能为 null。
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getUsageParameters

Collection getUsageParameters()
                              throws JAXRException
Gets any usage parameters. A usage parameter is an arbitrary String that describes how to use the technical specification accessed via this SpecificationLink. Each parameter is a String.

Capability Level: 0

Returns:
the Collection of String instances. The Collection may be empty but not null.
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setUsageParameters(java.util.Collection<E> usageParameters) throws JAXRException
设置任何使用参数。每个参数都是一个 String.

功能级别:0
usageParameters 使用参数 String 所组成的 Collection
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setUsageParameters

void setUsageParameters(Collection usageParameters)
                        throws JAXRException
Sets any usage parameters. Each parameter is a String

Capability Level: 0

Parameters:
usageParameters - the Collection of usage parameter Strings
Throws:
JAXRException - If the JAXR provider encounters an internal error

public ServiceBinding getServiceBinding() throws JAXRException
获取此 SpecificationLink 的父 ServiceBinding。

功能级别:0
return 包含此对象的父 ServiceBinding
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getServiceBinding

ServiceBinding getServiceBinding()
                                 throws JAXRException
Gets the parent ServiceBinding for this SpecificationLink.

Capability Level: 0

Returns:
the parent ServiceBinding within which this object is composed
Throws:
JAXRException - If the JAXR provider encounters an internal error


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!