[MAGNOLIA-4735] System wide event bus Created: 28/Aug/12 Updated: 20/Feb/13 Resolved: 15/Feb/13 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 5.0 |
| Fix Version/s: | 5.0 |
| Type: | New Feature | Priority: | Neutral |
| Reporter: | Tobias Mattsson | Assignee: | Daniel Lipp |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | apiteam | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| 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:
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. |