Hitachi

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


3.4.3 cosminexus.xmlとの対応

Session Bean属性ファイルとcosminexus.xmlの対応を次に示します。

Session Bean属性ファイル

cosminexus.xml

タグ名

出現パターン

タグ名

出現パターン

<hitachi-session-bean-property>

1回

┃

┣

<session>

0回以上

┃

−

−

┃

┃

┣

<ejb-name>※1

1回

┣

<security-identity>

0または1回

┃

┃

┣

<security-identity>

0または1回

┃

┗

<run-as>

1回

┃

┃

┃

┗

<run-as>

1回

┃

┣

<description>

0回以上

┃

┃

┃

┃

−

−

┃

┣

<role-name>

1回

┃

┃

┃

┃

−

−

┃

┗

<user-name>

1回

┃

┃

┃

┗

<user-name>

1回

┣

<ejb-ref>

0回以上

┃

┃

┃

−

−

┃

┣

<description>

0回以上

┃

┃

┃

−

−

┃

┣

<ejb-ref-name>

1回

┃

┃

┃

−

−

┃

┣

<ejb-ref-type>

1回

┃

┃

┃

−

−

┃

┣

<home>

1回

┃

┃

┃

−

−

┃

┣

<remote>

1回

┃

┃

┃

−

−

┃

┗

<ejb-link>

0または1回

┃

┃

┃

−

−

┣

<resource-ref>

0回以上

┃

┃

┣

<resource-ref>

0回以上

┃

┣

<description>

0回以上

┃

┃

┃

┃

−

−

┃

┣

<res-ref-name>

1回

┃

┃

┃

┣

<res-ref-name>

1回

┃

┣

<res-type>

0または1回

┃

┃

┃

┃

−

−

┃

┣

<res-auth>

0または1回

┃

┃

┃

┃

−

−

┃

┣

<res-sharing-scope>

0または1回

┃

┃

┃

┃

−

−

┃

┗

<linked-to>

0または1回

┃

┃

┃

┗

<linked-to>※2

1回

┣

<resource-env-ref>

0回以上

┃

┃

┣

<resource-env-ref>

0回以上

┃

┣

<description>

0回以上

┃

┃

┃

┃

−

−

┃

┣

<resource-env-ref-name>

1回

┃

┃

┃

┣

<resource-env-ref-name>

1回

┃

┣

<resource-env-ref-type>

0または1回

┃

┃

┃

┃

−

−

┃

┣

<linked-queue>

0または1回

┃

┃

┃

┣

<linked-queue>※2

1回

┃

┃

┣

<resource-adapter>※3

1回

┃

┃

┃

┃

┣

<resource-adapter>

1回

┃

┃

┗

<queue>※3

1回

┃

┃

┃

┃

┗

<queue>

1回

┃

┣

<linked-adminobject>

0または1回

┃

┃

┃

┣

<linked-adminobject>※2

1回

┃

┃

┣

<resourceadapter-name>※4

1回

┃

┃

┃

┃

┣

<resourceadapter-name>

1回

┃

┃

┗

<adminobject-name>※4

1回

┃

┃

┃

┃

┗

<adminobject-name>

1回

┃

┗

<linked-to>

0または1回

┃

┃

┃

┗

<linked-to>※2

1回

┣

<runtime>

0または1回

┃

┃

┃

−

−

┃

┣

<lookup-name>

1回

┃

┃

┣

<lookup-name>※2

0または1回

┃

┣

<optional-name>

0または1回

┃

┃

┣

<optional-name>

0または1回

┃

┣

<local-optional-name>

0または1回

┃

┃

┣

<local-optional-name>

0または1回

┃

┣

<maximum-sessions>

1回

┃

┃

┣

<maximum-sessions>※2

0または1回

┃

┣

<stateless>※5

どちらか1回,またはどちらもなし

┃

┃

┣

<stateless>※2

0または1回

┃

┃

┣

<pooled-instance>

1回

┃

┃

┃

┣

<pooled-instance>※2

0または1回

┃

┃

┃

┣

<minimum>

1回

┃

┃

┃

┃

┣

<minimum>※2

0または1回

┃

┃

┃

┗

<maximum>

1回

┃

┃

┃

┃

┗

<maximum>※2

0または1回

┃

┃

┗

<instance-timeout>

0または1回

┃

┃

┃

┗

<instance-timeout>

0または1回

┃

┣

<stateful>※5

どちらか1回,またはどちらもなし

┃

┃

┣

<stateful>※2

0または1回

┃

┃

┣

<maximum-active-sessions>

1回

┃

┃

┃

┣

<maximum-active-sessions>※2

0または1回

┃

┃

┣

<inactivity-timeout>

1回

┃

┃

┃

┣

<inactivity-timeout>※2

0または1回

┃

┃

┗

<removal-timeout>

1回

┃

┃

┃

┗

<removal-timeout>※2

0または1回

┃

┣

<enable-scheduling>

0または1回

┃

┃

┣

<enable-scheduling>

0または1回

┃

┣

<pass-by-reference>

0または1回

┃

┃

┣

<pass-by-reference>

0または1回

┃

┣

<scheduling>

0または1回

┃

┃

┣

<scheduling>

0または1回

┃

┃

┣

<queue-name>

1回

┃

┃

┃

┣

<queue-name>※2

0または1回

┃

┃

┣

<parallel-count>

1回

┃

┃

┃

┣

<parallel-count>※2

0または1回

┃

┃

┗

<queue-length>

0または1回

┃

┃

┃

┗

<queue-length>

0または1回

┃

┗

<front-ejb>

0または1回

┃

┃

┣

<front-ejb>

0または1回

┣

<start-order>

0または1回

┃

┃

┣

<start-order>

0または1回

┣

<ejb-method-observation-timeout>

0回以上

┃

┃

┣

<ejb-method-observation-timeout>

0回以上

┃

┣

<method>

1回以上

┃

┃

┃

┣

<method>

1回以上

┃

┃

┣

<description>

0または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回以上

┃

┗

<method-observation-timeout>

1回

┃

┃

┃

┗

<method-observation-timeout>

1回

┗

<ejb-transaction-timeout>

0回以上

┃

┃

┣

<ejb-transaction-timeout>

0回以上

┣

<method>

1回以上

┃

┃

┃

┣

<method>

1回以上

┃

┣

<description>

0または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回以上

┗

<transaction-timeout>

1回

┃

┃

┃

┗

<transaction-timeout>

1回

−

−

−

−

−

−

−

−

−

−

−

−

−

−

(凡例)

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

注※1

ejb-jar.xmlの<ejb-jar>-<enterprise-beans>-<session>-<ejb-name>に対応し,属性ファイルには存在しないタグとなります。SessionBeanを特定するためのキーとなります。

注※2

cosminexus.xmlはカスタマイズしたい要素だけを記述する形式となるため,属性ファイルと出現パターンが異なります。

注※3

resource-adapterにはリソースアダプタ表示名,<queue>にはQUEUE名が入ります。

注※4

<resourceadapter-name>にはリソースアダプタ表示名,<adminobject-name>には管理対象オブジェクト名が入ります。

注※5

08-70以前のバージョンの場合,statelessまたはstatefulのどちらかを指定します。