You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/01/01 13:13:00 UTC
[jira] [Commented] (ISIS-2177) Provide an ObjectManager API to
decouple from JDO
[ https://issues.apache.org/jira/browse/ISIS-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17006395#comment-17006395 ]
ASF subversion and git services commented on ISIS-2177:
-------------------------------------------------------
Commit 2ade5ed5e0a71b61df8058d2fc32cd97c7c8484f in isis's branch refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=2ade5ed ]
ISIS-2177: reinstates the ability to inject into persistent entities.
Use of a thread-local to obtain the current IsisSession would seem to be unavoidable.
> Provide an ObjectManager API to decouple from JDO
> -------------------------------------------------
>
> Key: ISIS-2177
> URL: https://issues.apache.org/jira/browse/ISIS-2177
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0
>
>
> We are implementing an ObjectManager that is an API to replace ObjectAdapterProvider, PersistenceSession and others that are closely coupled with JDO.
> Following a chain of responsibility pattern ObjectManager is setup with a couple of handlers for different responsibilities, these are:
> 1. Object creation, newing up from a given ObjectSpecification, initializing defaults and resolving injection points if required.
> 2. Object re-creation from a given ObjectSpecification + Object-Identifier, resolving injection points if required.
> 3. Object persisting for a given ObjectSpecification and the actual Object a pojo. Conceptually this might also include aspects of serializing ManagedObjects into in-memory mementos.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)