You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2021/08/23 07:13:00 UTC

[jira] [Closed] (ISIS-2845) Reinstate automatic injection into entities when resolved.

     [ https://issues.apache.org/jira/browse/ISIS-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber closed ISIS-2845.
----------------------------

> Reinstate automatic injection into entities when resolved.
> ----------------------------------------------------------
>
>                 Key: ISIS-2845
>                 URL: https://issues.apache.org/jira/browse/ISIS-2845
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Persistence JDO
>    Affects Versions: 2.0.0-M5
>            Reporter: Daniel Keir Haywood
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M6
>
>         Attachments: JDOStateManagerForIsis.java, image-2021-08-18-17-28-16-816.png, image-2021-08-18-17-29-54-495.png
>
>
> 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:
> !image-2021-08-18-17-29-54-495.png|width=962,height=95!
> somewhere about here:
> !image-2021-08-18-17-28-16-816.png|width=685,height=515!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)