Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1107

Register Guice Injector in Wicket before trying to inject the application's dependencies

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: core-1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Core: Viewer: Wicket
    • Labels:
      None

      Description

      https://github.com/apache/isis/blob/master/core/viewer-wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/IsisWicketApplication.java#L255 tries to inject the members/dependencies of IsisWicketApplication before the Injector is registered in Wicket-IOC.
      This doesn't allow usage of the new GuiceBeanProvider in the dependencies, because it needs to extract Guice Injector from the Application threadlocal.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgrigorov Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: