Trying this out as an experiment ... running into a problem with GridFormatFinder .. in short I do not see how the Hints make it to the constructor based on the following code:
> public Iterator getServiceProviders(final Class category, final Filter > filter, final Hints hints) { > /* > * The implementation of this method is very similar to the > 'getUnfilteredProviders' > * one except for filter handling. See the comments in > 'getUnfilteredProviders' for > * more implementation details. > */ > if (scanningCategories.contains(category)) { > throw new RecursiveSearchException(category); > } > final Filter hintsFilter = new Filter() { > public boolean filter(final Object provider) { > return isAcceptable(provider, category, hints, filter); > } > }; > synchronizeIteratorProviders(); > Iterator iterator = getServiceProviders(category, hintsFilter, > true); > if (!iterator.hasNext()) { > scanForPlugins(getClassLoaders(), category); > iterator = getServiceProviders(category, hintsFilter, true); > } > return iterator; > } Hints are used in the hintsFilter ... but by then the provider object has already been created. It looks to me like getServiceProviders( category, hintsFilter, true ) is used in error? Jody ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel