Uploaded image for project: 'Ymir'
  1. Ymir
  2. YMIR-254

*[ymir-core] PageとExceptionHandlerにはS2が自動DIしないようにする

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • 1.0.0-RC1
    • Affects Version/s: 0.9.6
    • Component/s: ymir-core
    • None

      PageとExceptionHandlerにはYmirのオブジェクトスコープからのインジェクションが行なわれるが、これはアノテーションを付与することによる明示的なインジェクションであるのに対し、S2の自動DIは暗黙のインジェクションであり、明示的なインジェクションと暗黙のインジェクションが混在するのは分かりにくさの原因となる。このため、PageとExceptionHandlerについてはS2が自動DIしないようにする。コンポーネントをDIする場合は明示的に@Bindingアノテーションを付与することになる。

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

              Created:
              Updated:
              Resolved: