[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grégory Joseph resolved MAGNOLIA-3011.
--------------------------------------

    Resolution: Fixed

Done for concrete classes; see MAGNOLIA-3125 for interfaces.

> ObservedComponentFactory.newInstance() should return a default implementation 
> when the observed path doesn't exist yet
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-3011
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3011
>             Project: Magnolia
>          Issue Type: Improvement
>          Components: core
>            Reporter: Grégory Joseph
>            Assignee: Grégory Joseph
>             Fix For: 4.3
>
>
> ObservedComponentFactory.newInstance() currently returns null when the 
> observed path doesn't exist yet. It should return a default implementation 
> (to be configured) or some form of null proxy (see for example [Proxytoy's 
> null object 
> proxy|http://proxytoys.codehaus.org/apidocs/com/thoughtworks/proxy/toys/nullobject/package-summary.html])
>  so that client code can always keep a reference to the observed singleton 
> without having to care about it's state on the repo, thus making the 
> observation/factory system entirely transparent.

-- 
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]>
----------------------------------------------------------------

Reply via email to