Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369090

Summary: ObserverBus should be capable of returning multiple values
Product: [Modeling] EMFStore Reporter: Edgar Mueller <emueller>
Component: ServerCoreAssignee: Project Inbox <emfstore.servercore-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: backlog   
Hardware: PC   
OS: All   
Whiteboard: stalebug

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();