Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] IServiceListener API break

On 8/14/2014 3:03 PM, Alex Blewitt wrote:

<stuff deleted>
Plug-ins that use the Eclipse registry need to be singletons, and ECF uses the registry for its data.

Although this used to be true, as of the work on [1] it's not required for the parts of ECF that can be used in non-Eclipse contexts (e.g. remote services).



It would be a good idea to enable API baselines, so that you get notified ahead of such breaking changes. You should also add @noimplement to interfaces if they aren’t expected to be implemented by clients, because that will indicate that they shouldn’t implement them (i.e. they use consumer role). The way to avoid these problems is to introduce a new IXxx2 interface, which is ugly but at least works.

Thanks...in general we do enable API baselines. In this case the major version was changed and @noimplement wasn't appropriate (although as Alex says noimplement is useful for clients when appropriate).

Scott

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=421569



Back to the top