Bug 426374 - Notify IServiceListeners of previously registered services
Summary: Notify IServiceListeners of previously registered services
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.discovery (show other bugs)
Version: 3.7.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.8.0   Edit
Assignee: Markus Kuppe CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on: 426497
Blocks: 424059 426701
  Show dependency tree
 
Reported: 2014-01-22 11:26 EST by Markus Kuppe CLA
Modified: 2014-02-18 02:48 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kuppe CLA 2014-01-22 11:26:35 EST
IServiceListeners, which are registered via the OSGi whiteboard pattern, should (optionally) be notified about (matching) IServiceInfo instances even if the ISI instances have been discovered _before_ the listener.
Comment 3 Markus Kuppe CLA 2014-02-18 02:48:02 EST
noteworthy. "

Incompatibilities between ECF 3.7 and 3.8:
ECF changed in an incompatible way between 3.7 and 3.8.0 in ways that affect consumers of ECF remote services. The following entry describes the area that changed and provides instructions for migrating to 3.8.0.
What is affected: Consumers that provide an implementation for org.eclipse.ecf.discovery.IServiceListener.
Description: ECF 3.8.0 has added a third method to the interface. This change brings improved support for listener notification. However, this change also is an incompatible change for pre 3.8.0 implementers of the interface.
Action required: Consumers that directly implement IServiceListener have to provide a method implementation for the newly introduced interface method. Returning 'false' in the interface method will yield the same result as in previous versions. 'true' will cause ECF discovery to also notify the IServiceListener of services discovered prior to listener registration.
"