Cosminexus リファレンス 定義編

[目次][索引][前へ][次へ]

5.5.2 DDとの対応

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

Session Bean属性ファイル Deployment Descriptor
タグ名 出現パターン タグ名 出現パターン
<hitachi-session-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回以上

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

<mapped-name> 0または1回






<home> 0または1回




<remote> 0または1回

<business-local> 0回以上



<business-remote> 0回以上






<ejb-class> 1回

<session-type> 1回


<session-type> 0または1回

<around-invoke> 0回以上




<class> 0または1回



<method-name> 1回



<post-construct> 0回以上




<lifecycle-callback-class> 0または1回



<lifecycle-callback-method> 1回



<pre-destroy> 0回以上




<lifecycle-callback-class> 0または1回



<lifecycle-callback-method> 1回



<post-activate> 0回以上




<lifecycle-callback-class> 0または1回



<lifecycle-callback-method> 1回



<pre-passivate> 0回以上




<lifecycle-callback-class> 0または1回



<lifecycle-callback-method> 1回



<timeout-method> 0または1回




<method-name> 1回



<method-params> 0または1回



  <method-param> 0回以上



<init-method> 0回以上




<create-method> 1回





<method-name> 1回




<method-params> 0または1回




  <method-param> 0回以上



<bean-method> 1回



 
<method-name> 1回



  <method-params> 0または1回



    <method-param> 0回以上



<remove-method> 0回以上




<bean-method> 1回





<method-name> 1回




<method-params> 0または1回




  <method-param> 0回以上



<retain-if-exception> 0または1回



<transaction-type> 1回


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

<injection-target> 0回以上



 
<injection-target-class> 1回



  <injection-target-name> 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回

<injection-target> 0回以上



 
<injection-target-class> 1回



  <injection-target-name> 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回

<injection-target> 0回以上



 
<injection-target-class> 1回



  <injection-target-name> 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> 1回※1



<use-caller-identity> 1回※1

<run-as> 1回※1


<run-as> 1回※1

 
<description> 0回以上


 
<description> 0回以上

 
<role-name> 1回


  <role-name> 1回

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




<injection-target> 0回以上





<injection-target-class> 1回




<injection-target-name> 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回



<injection-target> 0回以上




<injection-target-class> 1回



<injection-target-name> 1回



<linked-queue> 0または1回




<resource-adapter> 1回



<queue> 1回


<linked-adminobject> 0または1回


 
<resourceadapter-name> 1回


  <adminobject-name> 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>※2 1回以上


<role-name>※2 1回以上


<unchecked>※2 1回


<unchecked>※2 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
<use-caller-identity>と<run-as>のどちらか一つを指定します。

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