[ http://jira.magnolia-cms.com/browse/MAGNOLIA-4735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Mattsson updated MAGNOLIA-4735: -------------------------------------- Description: We currently have a system wide event bus developed for the new UI and up til now it has only been used for UI related events. Going forward this should be part of magnolia-core and be provided as a facility for any code that would benefit from sending or listening to a system wide event. The changes I have in mind is moving the following classes from ui-framework to magnolia-core and the package info.magnolia.event: * info.magnolia.ui.framework.event.Event * info.magnolia.ui.framework.event.EventBus * info.magnolia.ui.framework.event.EventHandler * info.magnolia.ui.framework.event.EventHandlerCollection * info.magnolia.ui.framework.event.HandlerRegistration * info.magnolia.ui.framework.event.ResettableEventBus * info.magnolia.ui.framework.event.SimpleEventBus * info.magnolia.ui.framework.event.SystemEventBusConfigurer Configuration of the system wide event bus would also move from the ui-admincentral module to the core module. Q: The system event bus is configured in the _main_ component provider. Which isn't necessarily a problem or even particularly confusing. It can become a problem though should the need for an EventBus specific to the system component provider be necessary later on. was: We currently have a system wide event bus developed for the new UI and up til now it has only been used for UI related events. Going forward this should be part of magnolia-core and be provided as a facility for any code that would benefit from sending or listening to a system wide event. > System wide event bus > --------------------- > > Key: MAGNOLIA-4735 > URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4735 > Project: Magnolia > Issue Type: New Feature > Security Level: Public > Components: core > Reporter: Tobias Mattsson > Fix For: 5.0 Alpha2 s011 > > > We currently have a system wide event bus developed for the new UI and up til > now it has only been used for UI related events. > Going forward this should be part of magnolia-core and be provided as a > facility for any code that would benefit from sending or listening to a > system wide event. > The changes I have in mind is moving the following classes from ui-framework > to magnolia-core and the package info.magnolia.event: > * info.magnolia.ui.framework.event.Event > * info.magnolia.ui.framework.event.EventBus > * info.magnolia.ui.framework.event.EventHandler > * info.magnolia.ui.framework.event.EventHandlerCollection > * info.magnolia.ui.framework.event.HandlerRegistration > * info.magnolia.ui.framework.event.ResettableEventBus > * info.magnolia.ui.framework.event.SimpleEventBus > * info.magnolia.ui.framework.event.SystemEventBusConfigurer > Configuration of the system wide event bus would also move from the > ui-admincentral module to the core module. > Q: The system event bus is configured in the _main_ component provider. Which > isn't necessarily a problem or even particularly confusing. It can become a > problem though should the need for an EventBus specific to the system > component provider be necessary later on. -- 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/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------