Hitachi

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


3.6.2 DDとの対応

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

〈この項の構成〉

(1) EJB2.0の場合

MessageDrivenBean属性ファイル

Deployment Descriptor

タグ名

出現パターン

タグ名

出現パターン

<hitachi-message-bean-property>

1回

<ejb-jar>

1回

┃

−

−

┣

<description>

0または1回

┃

−

−

┗

<enterprise-beans>

1回

┃

−

−

┃

(省略) 

−

┃

−

−

┗

<message-driven>

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回

┣

<transaction-type>

1回

┣

<transaction-type>

1回

┣

<message-selector>

0または1回

┣

<message-selector>

0または1回

┣

<acknowledge-mode>

0または1回

┣

<acknowledge-mode>

0または1回

┣

<message-driven-destination>

0または1回

┣

<message-driven-destination>

0または1回

┃

┣

<destination-type>

1回

┃

┣

<destination-type>

1回

┃

┗

<subscription-durability>

0または1回

┃

┗

<subscription-durability>

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-identity>

0または1回

┣

<security-identity>

0または1回

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┃

−

−

┃

┣

<use-caller-identity>※

1回

┃

┗

<run-as>

1回

┃

┗

<run-as>※

1回

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<role-name>

1回

┃

┗

<role-name>

1回

┃

┗

<user-name>

1回

┃

−

−

┣

<container-transaction>

0回以上

┣

<container-transaction>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<method>

1回以上

┃

┣

<method>

1回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<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回

┣

<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回

−

−

┗

<runtime>

0または1回

−

−

(省略)

−

−

−

−

−

−

−

−

−

−

−

−

−

−

−

−

−

(凡例)

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

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

注※

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

(2) EJB2.1以降の場合

MessageDrivenBean属性ファイル

Deployment Descriptor

タグ名

出現パターン

タグ名

出現パターン

<hitachi-message-bean-property>

1回

<ejb-jar>

1回

┃

−

−

┣

<description>

0または1回

┃

−

−

┣

<enterprise-beans>

1回

┃

−

−

┗

┃

(省略) 

−

┃

−

−

┗

<message-driven>

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回

┣

<messaging-type>

0または1回

┣

<messaging-type>

0または1回

┣

<transaction-type>

1回

┣

<transaction-type>

1回

┣

<activation-config>

0または1回

┣

<activation-config>

0または1回

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┗

<activation-config-property>

1回以上

┃

┗

<activation-config-property>

1回以上

┃

┣

<activation-config-property-name>

1回

┃

┣

<activation-config-property-name>

1回

┃

┗

<activation-config-property-value>

1回

┃

┗

<activation-config-property-value>

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-identity>

0または1回

┣

<security-identity>

0または1回

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┃

−

−

┃

┣

<use-caller-identity>※

1回

┃

┗

<run-as>

1回

┃

┗

<run-as>※

1回

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<role-name>

1回

┃

┗

<role-name>

1回

┃

┗

<user-name>

1回

┃

−

−

┣

<container-transaction>

0回以上

┣

<container-transaction>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<method>

1回以上

┃

┣

<method>

1回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<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回

┣

<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回

−

−

┃

┣

<resourceadapter-name>

1回

−

−

┃

┗

<adminobject-name>

1回

−

−

┗

<runtime>

0または1回

−

−

(省略)

−

−

−

−

−

−

−

−

−

−

−

−

−

−

−

−

−

(凡例)

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

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

注※

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