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

Bug 389194

Summary: Config Admin API methods should be synchronous
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: 1.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 388882    

Description Mark Macdonald CLA 2012-09-10 16:56:39 EDT
Discussed some upcoming framework changes with Simon:

- The support in EventTarget which allows listeners to inject Deferreds into a dispatchEvent() cycle, is going to be removed. 
- Retrieval of Preferences nodes is going to be synchronous (after bootstrapping is finished, at least).

The Config Admin needs to be refactored accordingly, namely:

- The API methods getConfiguration() and listConfigurations() will be synchronous.
- The Config Store will maintain a single Preferences node of configuration data, as splitting the data into different nodes is not a concern.
- The Config Store will load all the config data during initialization. After that configurations will be managed synchronously. This will make the implementation a lot simpler.
Comment 2 Mark Macdonald CLA 2012-09-11 14:08:17 EDT
^