[ http://jira.magnolia.info/browse/MAGNOLIA-1853?page=comments#action_15095 ] Fabrizio Giustina commented on MAGNOLIA-1853: ---------------------------------------------
this is a list of requirements that are now fulfilled by the current implementation that should be maintained while moving to the ModuleLifecycle interface: - startup tasks must reuse the same interface used for upgrade tasks - the commit/rollback of jcr changes must be transactional and not handled manually by each module/task (like ModuleLifecycle does now, just returning a list of tasks to be executed, not actually taking care of running them). - important: startup tasks must be executed for all the installed modules before actually starting any module, they must not be executed during the startup of the module. This is needed if a module needs to modify the configuration of another module (sample use case: in a custom content module be able to adjust the cache configuration before starting the cache module, - configuration can depend of the environment and not from the module version) > ModuleLifecycle : allow usage of the Task api and global save/rollback > ---------------------------------------------------------------------- > > Key: MAGNOLIA-1853 > URL: http://jira.magnolia.info/browse/MAGNOLIA-1853 > Project: Magnolia > Issue Type: Task > Components: core > Reporter: Grégory Joseph > Assigned To: Grégory Joseph > Fix For: Green > > > This is currently implemented through startupTasks, but using the > ModuleLifecycle is more relevant, since startup tasks are not related to any > given version of a module -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------