[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grégory Joseph resolved MAGNOLIA-3002.
--------------------------------------
Resolution: Fixed
ClassFactory can now be swapped at runtime; if the property
{{info.magnolia.objectfactory.ClassFactory}} is set, it will be used.
The implementation hides some nasty details - such as the fact that when
starting the system up,
{{Classes}}/{{ClassFactory}}/{{Components}}/{{ComponentProvider}} is
immediately being used, *before* we get a chance to register all properties
(i.e before we can determine that we want to use a custom {{ClassFactory}}) -
so it essentially checks for each call. See code/javadoc/comments for more
details.
> Swappable ClassUtil (ClassFactory)
> ----------------------------------
>
> Key: MAGNOLIA-3002
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3002
> Project: Magnolia
> Issue Type: New Feature
> Components: core
> Reporter: Grégory Joseph
> Assignee: Grégory Joseph
> Fix For: 4.3
>
>
> Modules need to be able to provide customized class loading mechanisms
> (Groovy integration for instance, but also modules that "fix" certain
> containers' class loading specifities, etc)
> This is strongly linked to MAGNOLIA-3001, as it will provide some refactoring
> of the impacted classes ({{ClassUtil}}, {{ClasspathResourcesUtil}},
> {{FactoryUtil}}, ...)
--
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]>
----------------------------------------------------------------