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

GuiceComponentProvider should not test for explicit bindings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Outdated
    • Neutral
    • None
    • 4.5, 4.5.1, 4.5.2
    • core

    Description

      GuiceComponentProvider tests for explicit bindings in both getComponent() and getProvider(). Since we don't have Guice set to require explicit bindings and since we're using just-in-time creation of objects it makes no sense to do this check.

      For instance, a class A annotated with @Singleton can be injected into another class B that requires it. But it's not possible to ask for the instance of class A directly on GuiceComponentProvider.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              tmattsson Tobias Mattsson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD