[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philipp Bracher updated MAGNOLIA-2553:
--------------------------------------
Fix Version/s: 4.1
(was: 4.0)
No problem: can be part of 4.1
Here some notes about how to polish it:
- the ObservedObjectFactory should be a standard factory
(info.magnolia.cms.util.FactoryUtil.InstanceFactory)
- the factory.newInstance( ) should return the proxy (drop the getProxy()
method)
- if the implementation is a path it will register the factory and use the
standard mechanism to create the object
- if the implementation class is a factory it should be used to create the
object (use that for ServerConfig & IPSecurityManager)
> 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
> Reporter: Philipp Bracher
> Assignee: Philipp Bracher
> Fix For: 4.1
>
> 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.
--
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]>
----------------------------------------------------------------