没有合适的资源?快使用搜索试试~ 我知道了~
sca-javaci-1.1-spec-csprd04.
需积分: 1 0 下载量 126 浏览量
2018-04-09
15:37:40
上传
评论
收藏 660KB PDF 举报
温馨提示
This specification extends the SCA Assembly Model [ASSEMBLY] by defining how a Java class provides an implementation of an SCA component (including its various attributes such as services, references, 3 and properties) and how that class is used in SCA as a component implementation type.
资源推荐
资源详情
资源评论
sca-javaci-1.1-spec-csprd04 15 August 2011
Standards Track Work Product Copyright © OASIS Open 2011. All Rights Reserved. Page 1 of 39
Service Component Architecture POJO
Component Implementation
Specification Version 1.1
Committee Specification Draft 04 /
Public Review Draft 04
15 August 2011
Specification URIs
This version:
http://docs.oasis-open.org/opencsa/sca-j/sca-javaci-1.1-spec-csprd04.pdf (Authoritative)
http://docs.oasis-open.org/opencsa/sca-j/sca-javaci-1.1-spec-csprd04.html
http://docs.oasis-open.org/opencsa/sca-j/sca-javaci-1.1-spec-csprd04.doc
Previous version:
http://docs.oasis-open.org/opencsa/sca-j/sca-javaci-1.1-spec-csprd03.pdf (Authoritative)
http://docs.oasis-open.org/opencsa/sca-j/sca-javaci-1.1-spec-csprd03.html
http://docs.oasis-open.org/opencsa/sca-j/sca-javaci-1.1-spec-csprd03.doc
Latest version:
http://docs.oasis-open.org/opencsa/sca-j/sca-javaci-1.1-spec.pdf (Authoritative)
http://docs.oasis-open.org/opencsa/sca-j/sca-javaci-1.1-spec.html
http://docs.oasis-open.org/opencsa/sca-j/sca-javaci-1.1-spec.doc
Technical Committee:
OASIS Service Component Architecture / J (SCA-J) TC
Chairs:
David Booz (booz@us.ibm.com), IBM
Anish Karmarkar (Anish.Karmarkar@oracle.com), Oracle
Editors:
David Booz (booz@us.ibm.com), IBM
Mike Edwards (mike_edwards@uk.ibm.com), IBM
Anish Karmarkar (Anish.Karmarkar@oracle.com), Oracle
Related work:
This specification replaces or supersedes:
Service Component Architecture Java Component Implementation Specification Version
1.00, 15 February 2007.
http://www.osoa.org/download/attachments/35/SCA_JavaComponentImplementation_V100.p
df?version=1
This specification is related to:
Service Component Architecture Assembly Model Specification Version 1.1. Latest version.
http://docs.oasis-open.org/opencsa/sca-assembly/sca-assembly-1.1-spec.html
SCA Policy Framework Version 1.1. Latest version.
http://docs.oasis-open.org/opencsa/sca-policy/sca-policy-1.1.html
sca-javaci-1.1-spec-csprd04 15 August 2011
Standards Track Work Product Copyright © OASIS Open 2011. All Rights Reserved. Page 2 of 39
Service Component Architecture SCA-J Common Annotations and APIs Specification
Version 1.1. Latest version.
http://docs.oasis-open.org/opencsa/sca-j/sca-javacaa-1.1-spec.html
Declared XML namespaces:
http://docs.oasis-open.org/ns/opencsa/sca/200912
Abstract:
This specification extends the SCA Assembly Model by defining how a Java class provides an
implementation of an SCA component, including its various attributes such as services,
references, and properties, and how that class is used in SCA as a component implementation
type. It requires all the annotations and APIs as defined by the SCA-J Common Annotations and
APIs specification.
This specification also details the use of metadata and the Java API defined in the context of a
Java class used as a component implementation type.
Status:
This document was last revised or approved by the OASIS Service Component Architecture / J
(SCA-J) TC on the above date. The level of approval is also listed above.
Technical Committee members should send comments on this specification to the Technical
Committee’s email list. Others should send comments to the Technical Committee by using the
“Send A Comment” button on the Technical Committee’s web page at http://www.oasis-
open.org/committees/sca-j/.
For information on whether any patents have been disclosed that may be essential to
implementing this specification, and any offers of patent licensing terms, please refer to the
Intellectual Property Rights section of the Technical Committee web page (http://www.oasis-
open.org/committees/sca-j/ipr.php).
Citation format:
When referencing this specification the following citation format should be used:
[SCA-JavaCI-v1.1]
Service Component Architecture SCA-J POJO Component Implementation Specification Version
1.1. 15 August 2011. OASIS Committee Specification Draft 04 / Public Review Draft 04.
http://docs.oasis-open.org/opencsa/sca-j/sca-javaci-1.1-spec-csprd04.html
sca-javaci-1.1-spec-csprd04 15 August 2011
Standards Track Work Product Copyright © OASIS Open 2011. All Rights Reserved. Page 3 of 39
Notices
Copyright © OASIS Open 2011. All Rights Reserved.
All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual
Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.
This document and translations of it may be copied and furnished to others, and derivative works that
comment on or otherwise explain it or assist in its implementation may be prepared, copied, published,
and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice
and this section are included on all such copies and derivative works. However, this document itself may
not be modified in any way, including by removing the copyright notice or references to OASIS, except as
needed for the purpose of developing any document or deliverable produced by an OASIS Technical
Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must
be followed) or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors
or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS
DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY
OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.
OASIS requests that any OASIS Party or any other party that believes it has patent claims that would
necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard,
to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to
such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that
produced this specification.
OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of
any patent claims that would necessarily be infringed by implementations of this specification by a patent
holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR
Mode of the OASIS Technical Committee that produced this specification. OASIS may include such
claims on its website, but disclaims any obligation to do so.
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that
might be claimed to pertain to the implementation or use of the technology described in this document or
the extent to which any license under such rights might or might not be available; neither does it
represent that it has made any effort to identify any such rights. Information on OASIS' procedures with
respect to rights in any document or deliverable produced by an OASIS Technical Committee can be
found on the OASIS website. Copies of claims of rights made available for publication and any
assurances of licenses to be made available, or the result of an attempt made to obtain a general license
or permission for the use of such proprietary rights by implementers or users of this OASIS Committee
Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no
representation that any information or list of intellectual property rights will at any time be complete, or
that any claims in such list are, in fact, Essential Claims.
The name "OASIS" is a trademark of OASIS, the owner and developer of this specification, and should be
used only to refer to the organization and its official outputs. OASIS welcomes reference to, and
implementation and use of, specifications, while reserving the right to enforce its marks against
misleading uses. Please see http://www.oasis-open.org/who/trademark.php for above guidance.
sca-javaci-1.1-spec-csprd04 15 August 2011
Standards Track Work Product Copyright © OASIS Open 2011. All Rights Reserved. Page 4 of 39
Table of Contents
1 Introduction ........................................................................................................................................... 6
1.1 Terminology ........................................................................................................................................ 6
1.2 Normative References ........................................................................................................................ 6
1.3 Non-Normative References ................................................................................................................ 6
1.4 Testcases............................................................................................................................................ 7
2 Service .................................................................................................................................................. 8
2.1 Use of @Service ................................................................................................................................. 8
2.2 Local and Remotable Services ......................................................................................................... 10
2.3 Introspecting Services Offered by a Java Implementation ............................................................... 12
2.4 Non-Blocking Service Operations ..................................................................................................... 12
2.5 Callback Services ............................................................................................................................. 12
3 References ......................................................................................................................................... 13
3.1 Reference Injection ........................................................................................................................... 13
3.2 Dynamic Reference Access .............................................................................................................. 13
4 Properties ........................................................................................................................................... 14
4.1 Property Injection .............................................................................................................................. 14
4.2 Dynamic Property Access ................................................................................................................. 14
5 Implementation Instance Creation ...................................................................................................... 15
6 Implementation Scopes and Lifecycle Callbacks ............................................................................... 17
7 Accessing a Callback Service ............................................................................................................ 18
8 Component Type of a Java Implementation ...................................................................................... 19
8.1 Component Type of an Implementation with no @Service, @Reference or @Property Annotations
................................................................................................................................................................ 20
8.2 Impact of JAX-WS Annotations on ComponentType ....................................................................... 22
8.2.1 @WebService ........................................................................................................................... 22
8.2.2 @WebMethod ........................................................................................................................... 22
8.2.3 @WebParam ............................................................................................................................. 22
8.2.4 @WebResult ............................................................................................................................. 23
8.2.5 @SOAPBinding ......................................................................................................................... 23
8.2.6 @WebServiceProvider .............................................................................................................. 23
8.2.7 Web Service Binding ................................................................................................................. 23
8.3 Component Type Introspection Examples ........................................................................................ 24
8.4 Java Implementation with Conflicting Setter Methods ...................................................................... 25
9 Specifying the Java Implementation Type in an Assembly ................................................................ 27
10 Java Packaging and Deployment Model ............................................................................................ 28
10.1 Contribution Metadata Extensions .................................................................................................. 28
10.2 Java Artifact Resolution .................................................................................................................. 30
10.3 Class Loader Model ........................................................................................................................ 30
11 Conformance ...................................................................................................................................... 31
11.1 SCA Java Component Implementation Composite Document ....................................................... 31
11.2 SCA Java Component Implementation Contribution Document .................................................... 31
11.3 SCA Runtime .................................................................................................................................. 31
Appendix A. XML Schemas ................................................................................................................... 32
sca-javaci-1.1-spec-csprd04 15 August 2011
Standards Track Work Product Copyright © OASIS Open 2011. All Rights Reserved. Page 5 of 39
A.1 sca-contribution-java.xsd .................................................................................................................. 32
A.2 sca-implementation-java.xsd ............................................................................................................ 32
Appendix B. Conformance Items ........................................................................................................... 34
Appendix C. Acknowledgements ........................................................................................................... 36
Appendix D. Revision History ................................................................................................................ 38
剩余38页未读,继续阅读
资源评论
sy59537
- 粉丝: 0
- 资源: 15
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功