Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369090 - ObserverBus should be capable of returning multiple values
Summary: ObserverBus should be capable of returning multiple values
Status: CLOSED WONTFIX
Alias: None
Product: EMFStore
Classification: Modeling
Component: ServerCore (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: backlog   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 09:49 EST by Edgar Mueller CLA
Modified: 2014-10-01 04:07 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edgar Mueller CLA 2012-01-19 09:49:12 EST
The ObserverBus in its current state does not enable it to aggregate values from multiple observers.  Instead, the first observer found that returns a value is used.  The return values of the remaining observers will be discarded.
Comment 1 Eclipse Genie CLA 2014-05-18 00:48:22 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Edgar Mueller CLA 2014-10-01 04:07:48 EDT
Closing this since no activity happened and it is in fact possible to get a list of all results, although this may seem a bit ugly:

A proxy = getObserverBus().notify(A.class);
List<Result> callResults = ((ObserverCall) proxy).getObserverCallResults();