Some Facets (eg ActionChoicesFacetViaMethod) have an AdapterMap (ie 
AdapterManager) injected into them.  I think this is a mistake...
-------------------------------------------------------------------------------------------------------------------------------------

                 Key: ISIS-127
                 URL: https://issues.apache.org/jira/browse/ISIS-127
             Project: Isis
          Issue Type: Bug
          Components: Core: ProgModel
    Affects Versions: 0.1.2-incubating
            Reporter: Dan Haywood


... because each time a PersistenceSession is created, a new 
AdapterManagerDefault is instantiated.

Instead, we should inject an AdapterManagerProvider into the facet that obtains 
the currently-scoped AdapterManager as required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to