-
New Feature
-
Resolution: Fixed
-
Neutral
-
5.0
-
-
Empty show more show less
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.
- is causing
-
MGNLWORKFLOW-24 Adapt to latest changes to App API
- Closed
- is depended upon by
-
MGNLUI-655 Configuration by code classes for actionbar should be in config package
- Closed
- is related to
-
MGNLUI-432 Provide system wide event bus
- Closed
- mentioned in
-
Wiki Page Loading...