Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6538

Improve support IoC multi-binding

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.4.4
    • None

    Description

      Guice multi-binding support introduced in Magnolia 5.4 is a useful mechanism which allows to resolve various configured components of the similar origin as a single set.

      To make it even more elegant - we have introduced a @Multibinding annotation which our IoC integration recognises and prepares according bindings.

      However, the support for multi-binding so far spans only the case of interface/implementation mappings. If one binds an interface to a javax.inject.Provider or a singleton instance - @Multibinding annotation isn't respected (we simply don't look for it).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                apchelintcev Aleksandr Pchelintcev
                apchelintcev Aleksandr Pchelintcev
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD