Jesse Eichar a écrit :
> From what I understand they aren't currently singletons but we want
> them to be isn't that more correct?
RegistryFactory are not currently singleton. We may want them to be, this is
one
possible approach but not the only one.
> So my question is where to go from here. It seems you want to create
> two main singletons:
>
> - FactoryRegistry
> - JNDI
Those classes already exists. My proposal:
* Jody hacks JNDI as he wish.
* I just move the 'add/removeFactoryIterator(...)' methods out
of FactoryRegistry and put them as static methods into a new
"Factories" class instead. No need to turn FactoryRegistry
into a singleton.
Martin
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel