johann.sorel wrote: > I added the check code, but it looks like I shouldn't have done it this > way, so I removed it. If you can explain me how works the factory system I > guess I'll be able > to fix the function correctly. > Okay I think I understand; the Factory SPI system uses the no argument constructor; and that one must be using an empty list of parameters by default. This is really a "trick" as it only uses the no argument constructor to verify the plug-in exists; after that it does reflection and calls the correct method - I will look into it.
So yeah; please comment out the check - what I needed was an indication of what problems this check caused. Cheers, Jody ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel