Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1107

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • core-1.8.0
    • 1.9.0
    • Viewer Wicket
    • 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

            Unassigned Unassigned
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: