I went to follow the developers guide (8 levels of hell from David
Blasbys email in feb), and find my self hindered. The class documented
in our developers guide, FactoryFinder, is now deprecated. And it is
unclear how to use recommended replacement of FactoryRegistry.
The javadocs for FactoryRegistry indicate the following use:
Set categories = Collections.singleton(new Class[]
{MathTransformProvider.class});
FactoryRegistry registry = new FactoryRegistry(categories);
Iterator providers = registry.getProviders(MathTransformProvider.class)
But then go to indicate that FactoryFinder is still needed as wrapper
for synchronization issues, and points to referencing.FactoryFinder as
an example.
The updated instruction are here:
-<http://docs.codehaus.org/display/GEOTOOLS/Plugins+and+FactoryFinder>
I would ask that Martin (or someone review and revise). No word on if my
banged up example compiles - it is just based on Martins javadocs. Based
on lines of code I cannot see why we should not restore
factory.FactoryFinder and provided an implementation based on
FactoryRegistry?
Jody
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel