Uploaded image for project: 'S2Container'
  1. S2Container
  2. CONTAINER-115

EJB3 の @TransactionAttribute アノテーションを POJO (非 EJB) に指定してトランザクション属性を設定可能にする TxAttributeCustomizer を追加しました.

XMLWordPrintable

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • 2.4.18-rc3
    • Affects Version/s: 2.4.18-rc2
    • Component/s: S2-Tiger
    • None

      EJB3 の @TransactionAttribute アノテーションを POJO (非 EJB) に指定してトランザクション属性を設定可能にする TxAttributeCustomizer を追加する.
      カスタマイズ対象のコンポーネントは EJB3 SessionBean ではなく (@Stateless 等は不要),インタフェースを実装する必要もない.
      public なメソッドにはトランザクション制御のインターセプタが適用される.
      メソッドに @TransactionAttribute が指定された場合はその属性に従う.
      メソッドに @TransactionAttribute がなく,クラスに指定された場合はその属性に従う.
      メソッドにもクラスにも @TransactionAttribute が指定された場合はデフォルト (requiredTx) が適用される.

            Assignee:
            koichik koichik
            Reporter:
            koichik koichik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: