Martin Desruisseaux ha scritto: > Andrea Aime a écrit : >> I see. Yet, say I cache the results. I can use a (Class, Hints) key >> for the cache, but what about being notified that a new factory >> iterator has been added since the last scan? Otherwise the cache >> would contain stale results, wouldn't it? > > True. But there is already a package-privated mechanism for detecting > when new FactoryProviderIterator are added. We could leverage that...
I looked at FactoryRegistry a bit, are you referring to the needScanForPlugins map? It does not seem to be cleared up when new providers are registered thought... Cheers Andrea ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel