Hitachi

Cosminexus V11 アプリケーションサーバ リファレンス 定義編(アプリケーション/リソース定義)


3.5.2 DDとの対応

Entity Bean属性ファイルとDeployment Descriptorの対応を次に示します。

Entity Bean属性ファイル

Deployment Descriptor

タグ名

出現パターン

タグ名

出現パターン

<hitachi-entity-bean-property>

1回

<ejb-jar>

1回

┃

−

−

┣

<description>

0または1回

┃

−

−

┣

<display-name>

0または1回

┃

−

−

┣

<icon>

0回以上

┃

−

−

┃

┣

<small-icon>

0または1回

┃

−

−

┃

┗

<large-icon>

0または1回

┃

−

−

┣

<enterprise-beans>

1回

┃

−

−

┃

┣

<session>※1

1回以上

┃

−

−

┃

┃

(省略)

−

┃

−

−

┃

┗

<entity>※1

1回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<display-name>

1回以上

┃

┣

<display-name>

0回以上

┃

┣

<icon>

0回以上

┃

┣

<icon>

0回以上

┃

┃

┣

<small-icon>

0または1回

┃

┃

┣

<small-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┃

−

−

┃

┣

<ejb-name>

1回

┃

┃

−

−

┃

┣

<home>

0または1回

┃

┃

−

−

┃

┣

<remote>

0または1回

┃

┃

−

−

┃

┣

<ejb-class>

1回

┃

┣

<persistence-type>

0または1回

┃

┣

<persistence-type>

0または1回

┃

┣

<prim-key-class>

1回

┃

┣

<prim-key-class>

1回

┃

┣

<reentrant>

1回

┃

┣

<reentrant>

1回

┃

┣

<abstract-schema-name>

0または1回

┃

┣

<abstract-schema-name>

0または1回

┃

┣

<cmp-field>

0回以上

┃

┣

<cmp-field>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┗

<field-name>

1回

┃

┃

┗

<field-name>

1回

┃

┣

<primkey-field>

0または1回

┃

┣

<primkey-field>

0または1回

┃

┣

<env-entry>

0回以上

┃

┣

<env-entry>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<env-entry-name>

1回

┃

┃

┣

<env-entry-name>

1回

┃

┃

┣

<env-entry-type>

1回

┃

┃

┣

<env-entry-type>

1回

┃

┃

┗

<env-entry-value>

1回

┃

┃

┗

<env-entry-value>

0または1回

┃

┣

<ejb-ref>

0回以上

┃

┣

<ejb-ref>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<ejb-ref-name>

1回

┃

┃

┣

<ejb-ref-name>

1回

┃

┃

┣

<ejb-ref-type>

1回

┃

┃

┣

<ejb-ref-type>

1回

┃

┃

┣

<home>

1回

┃

┃

┣

<home>

1回

┃

┃

┣

<remote>

1回

┃

┃

┣

<remote>

1回

┃

┃

┗

<ejb-link>

0または1回

┃

┃

┗

<ejb-link>

0または1回

┃

┣

<ejb-local-ref>

0回以上

┃

┣

<ejb-local-ref>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<ejb-ref-name>

1回

┃

┃

┣

<ejb-ref-name>

1回

┃

┃

┣

<ejb-ref-type>

1回

┃

┃

┣

<ejb-ref-type>

1回

┃

┃

┣

<local-home>

1回

┃

┃

┣

<local-home>

1回

┃

┃

┣

<local>

1回

┃

┃

┣

<local>

1回

┃

┃

┗

<ejb-link>

0または1回

┃

┃

┗

<ejb-link>

0または1回

┃

┣

<security-role-ref>

0回以上

┃

┣

<security-role-ref>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<role-name>

1回

┃

┃

┣

<role-name>

1回

┃

┃

┗

<role-link>

0または1回

┃

┃

┗

<role-link>

0または1回

┃

┣

<security-identity>

0または1回

┃

┣

<security-identity>

0または1回

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<use-caller-identity>※2

1回

┃

┃

┣

<use-caller-identity>※2

1回

┃

┃

┗

<run-as>※2

1回

┃

┃

┗

<run-as>※2

1回

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<role-name>

1回

┃

┃

┗

<role-name>

1回

┃

┃

┗

<user-name>

0または1回

┃

┃

−

1回

┃

┣

<resource-ref>

0回以上

┃

┣

<resource-ref>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<res-ref-name>

1回

┃

┃

┣

<res-ref-name>

1回

┃

┃

┣

<res-type>

1回

┃

┃

┣

<res-type>

1回

┃

┃

┣

<res-auth>

1回

┃

┃

┣

<res-auth>

1回

┃

┃

┣

<res-sharing-scope>

0または1回

┃

┃

┗

<res-sharing-scope>

0または1回

┃

┃

┣

<mapped-name>

0または1回

┃

┃

−

−

┃

┃

┗

<linked-to>

0または1回

┃

┃

−

−

┃

┣

<resource-env-ref>

0回以上

┃

┣

<resource-env-ref>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<resource-env-ref-name>

1回

┃

┃

┣

<resource-env-ref-name>

1回

┃

┃

┣

<resource-env-ref-type>

1回

┃

┃

┗

<resource-env-ref-type>

1回

┃

┃

┣

<mapped-name>

0または1回

┃

┃

−

−

┃

┃

┣

<linked-queue>

0または1回

┃

┃

−

−

┃

┃

┃

┣

<resource-adapter>

1回

┃

┃

−

−

┃

┃

┃

┗

<queue>

1回

┃

┃

−

−

┃

┃

┗

<linked-adminobject>

0または1回

┃

┃

−

−

┃

┃

┣

<resource-adapter-name>

1回

┃

┃

−

−

┃

┃

┗

<adminobject-name>

1回

┃

┃

−

−

┃

┗

<query>

0回以上

┃

┗

<query>

0回以上

┃

┣

<description>

0または1回

┃

┣

<description>

0または1回

┃

┣

<query-method>

1回

┃

┣

<query-method>

1回

┃

┃

┣

<method-name>

1回

┃

┃

┣

<method-name>

1回

┃

┃

┗

<method-params>

1回

┃

┃

┗

<method-params>

1回

┃

┃

┗

<method-param>

0回以上

┃

┃

┗

<method-param>

0回以上

┃

┣

<result-type-mapping>

0または1回

┃

┣

<result-type-mapping>

0または1回

┃

┗

<ejb-ql>

1回

┃

┗

<ejb-ql>

1回

┃

−

−

┣

<assembly-descriptor>

0または1回

┃

−

−

┃

┣

<security-role>

0回以上

┃

−

−

┃

┃

┣

<description>

0回以上

┃

−

−

┃

┃

┗

<role-name>

1回

┣

<method-permission>

0回以上

┃

┣

<method-permission>

0回以上

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┣

<role-name>※3

1回以上

┃

┃

┣

<role-name>※3

1回以上

┃

┣

<unchecked>※3

1回

┃

┃

┣

<unchecked>※3

1回

┃

┗

<method>

1回以上

┃

┃

┗

<method>

1回以上

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

−

−

┃

┃

┣

<ejb-name>

1回

┃

┣

<method-intf>

0または1回

┃

┃

┣

<method-intf>

0または1回

┃

┣

<method-name>

1回

┃

┃

┣

<method-name>

1回

┃

┗

<method-params>

0または1回

┃

┃

┗

<method-params>

0または1回

┃

┗

<method-param>

0回以上

┃

┃

┗

<method-param>

0回以上

┣

<container-transaction>

0回以上

┃

┣

<container-transaction>

0回以上

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┣

<method>

1回以上

┃

┃

┣

<method>

1回以上

┃

┃

┣

<description>

0回以上

┃

┃

┃

┣

<description>

0回以上

┃

┃

┃

−

−

┃

┃

┃

┣

<ejb-name>

1回

┃

┃

┣

<method-intf>

0または1回

┃

┃

┃

┣

<method-intf>

0または1回

┃

┃

┣

<method-name>

1回

┃

┃

┃

┣

<method-name>

1回

┃

┃

┗

<method-params>

0または1回

┃

┃

┃

┗

<method-params>

0または1回

┃

┃

┗

<method-param>

0回以上

┃

┃

┃

┗

<method-param>

0回以上

┃

┗

<trans-attribute>

1回

┃

┃

┗

<trans-attribute>

1回

┣

<exclude-list>

0または1回

┃

┗

<exclude-list>

0または1回

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┗

<method>

1回以上

┃

┗

<method>

1回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┃

−

−

┃

┣

<ejb-name>

1回

┃

┣

<method-intf>

0または1回

┃

┣

<method-intf>

0または1回

┃

┣

<method-name>

1回

┃

┣

<method-name>

1回

┃

┗

<method-params>

0または1回

┃

┗

<method-params>

0または1回

┃

┗

<method-param>

0回以上

┃

┗

<method-param>

0回以上

┃

−

−

┗

<ejb-client-jar>

0または1回

┗

<runtime>

0または1回

−

−

(省略)

−

−

−

−

−

−

−

−

−

−

−

−

−

−

−

−

−

−

(凡例)

−:対応するタグがありません。または,対応するタグがないか,タグを省略しているため,出現パターンの説明を省略しています。

(省略):タグを省略しています。

注※1

<session>と<entity>のどちらか一つを指定します。

注※2

<use-caller-identity>と<run-as>のどちらか一つを指定します。

注※3

<role-name>と<unchecked>のどちらか一つを指定します。