J2EE 迁移向导将 J2EE 连接器体系结构(JCA)1.0 描述符的构件迁移到 JCA 1.5。已迁移的构件与
ResourceAdaptor 对象的元素相关,因为已将两个新对象(OutboundResourceAdaptor
和 ConnectionDefinition)添加至
J2EE 1.4 规范级别的连接器项目中的 ResourceAdaptor 对象。
下面描述了已迁移元素的映射。
- 下列元素从 ResourceAdaptor 对象移到 OutboundResourceAdaptor 对象:
- reauthenticationSupport
- transactionSupport
- 下列元素从 ResourceAdaptor 对象移到 ConnectionDefinition 对象:
- managedConnectionFactoryClass
- connectionFactoryInterface
- connectionFactoryImplClass
- connectionInterface
- connectionImplClass
- outboundResourceAdaptor 对象包含 ConnectionDefinition
定义列表。因此,ConnectionDefinition 被添加至
OutboundResourceAdaptor 包含的 ConnectionDefinition 列表。
- OutboundResourceAdaptor 对象包含在
ResourceAdaptor 对象中。
- AuthenticationMechanism 对象在 JCA 1.5
中有一些更改,其中 customAuthMechType 元素被替换为
authenticationMechanism,而 authenticationType
元素被替换为 authenticationMechanism。
- ResourceAdaptor 对象中的描述属性替换为如下描述对象:描述对象中的描述属性字符串被设置为下列对象的“描述”对象中的 value 元素:
- SecurityPermission
- AuthenticationMechanism
- ConfigurationProperties