[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grégory Joseph updated MAGNOLIA-2553:
-------------------------------------
Description:
The problematic point is that code which keeps a reference to an object will
never see an reloaded changes. It would be more convenient and saver if the
factory would return and cache a proxy instead.
Before this, code using such objects always had to get a fresh instance through
the factory; once this is implemented, they can keep a reference (i.e get it in
their constructor - potentially injected)
was:The problematic point is that code which keeps a reference to an object
will never see an reloaded changes. It would be more convenient and saver if
the factory would return and cache a proxy instead.
> FactoryUtil: should return a proxy object for observed objects
> --------------------------------------------------------------
>
> Key: MAGNOLIA-2553
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2553
> Project: Magnolia
> Issue Type: Improvement
> Components: core
> Reporter: Philipp Bärfuss
> Assignee: Grégory Joseph
> Fix For: 4.3
>
> Attachments: proxy.patch
>
>
> The problematic point is that code which keeps a reference to an object will
> never see an reloaded changes. It would be more convenient and saver if the
> factory would return and cache a proxy instead.
> Before this, code using such objects always had to get a fresh instance
> through the factory; once this is implemented, they can keep a reference (i.e
> get it in their constructor - potentially injected)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------