Hi, I'm wondering if all the synchronized keywords around the getXXXFactory methods of CommonFactoryFinder are really needed. Wouldn't it be sufficient to syncrhonize the creation of the the service registry, that is, the getServiceRegistry? Scanning the registry takes quite a bit more time that just creating it.
Second question is, is there any intelligent way to cache the result of the searches? Most of the time the search is giving back the same result. We could at least cache the results that are in line with the default hints, the trouble being, we would need to notice the default hints have changed. How to do so? Equality comparison? A listener for the system hints? 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