Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321468 - [remoteservices][generic] RegistrySharedObject should dispatch remote service listener events asynchronously
Summary: [remoteservices][generic] RegistrySharedObject should dispatch remote service...
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.providers (show other bugs)
Version: 3.3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.4.0   Edit
Assignee: Scott Lewis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-01 19:30 EDT by Scott Lewis CLA
Modified: 2010-08-01 19:46 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 Scott Lewis CLA 2010-08-01 19:30:47 EDT
Currently, in RegistrySharedObject.fireRemoteServiceListeners the dispatch to the registered listeners is synchronous.  This has the result that if the code inside the IRemoteServiceListener attempts to access the remote service (e.g. to invoke a remote call), this will deadlock.

The fix is to dispatch remote service listener events asynchronously via a ListenerQueue.
Comment 1 Scott Lewis CLA 2010-08-01 19:46:59 EDT
Enhancement released to HEAD.