[ImageJ-devel] service-parameters branch

Curtis Rueden ctrueden at wisc.edu
Thu Aug 30 23:22:40 CDT 2012


Hi Dscho (& everyone),

The service-parameters branch contains some improvements to how services
declare their dependencies. It eliminates the need for those stupid no-arg
constructors just to make SezPoz happy (because it eliminates the need for
*any* explicit constructors). Rather, service dependencies are declared as
@Parameters now, similar to declaring inputs in a RunnablePlugin.

I tested and all seems to work well. However, as part of the refactoring I
touched some code in core/updater. Is it still the case that code changes
like this will break things for people with old versions of the updater,
due to the fact that that updater updates only itself and not its
dependencies? In this case, not updating imagej.service.ServiceHelper would
cause a problem when creating the UploaderService in
FilesUploader#createUploaderService().

How do you think we should proceed? Wait a bit before merging to master? Or
would these changes be OK?

Thanks,
Curtis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20120830/67272605/attachment.html>


More information about the ImageJ-devel mailing list