PicoContainer
  1. PicoContainer
  2. PICO-354

Difference in behavior SetterInjector vs. ConstructorInjector

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: None
    • Component/s: PicoContainer (Java)
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      1

      Description

      I use PicoContainer to setup my domain model and I would like my collections to be filled. But when i use the SetterInjector collections only get filled with there type. This behavior is unlike the constructorInjector that will also fill the collections with all beans that match the type of the collection. I've added a test cas to demonstrate my point.

        People

        • Assignee:
          Paul Hammant
          Reporter:
          Erik Jan de Wit
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: