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

Reinstate automatic injection into entities when resolved.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M5
    • 2.0.0-M6
    • Persistence JDO
    • None

    Description

      see attached class.

      One issue is that we no longer provide access to the current `InteractionLayer` from a static context ... `InteractionService` holds this and normally can just be injected.  As DN is instantiating the class, we don't get the chance to inject into it.  We'll therefore need to expose `InteractionService` as a singleton (yuk, but there's no other way).

      We then need to change `LocalPersistenceManagerFactory` to always set the DN property:

      somewhere about here:

      Attachments

        1. JDOStateManagerForIsis.java
          7 kB
          Daniel Keir Haywood
        2. image-2021-08-18-17-28-16-816.png
          305 kB
          Daniel Keir Haywood
        3. image-2021-08-18-17-29-54-495.png
          70 kB
          Daniel Keir Haywood

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hobrom Andi Huber
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment