On Mon, Nov 5, 2012 at 3:29 PM, Justin Deoliveira <[email protected]> wrote:
> So... back to how to fix. I still think not clearing the listener list on
> disposal is probably simplest. By doing this though in order to avoid
> duplicate listeners we probably want ResourcePool to first remove any
> existing listeners. What about adding a method to Catalog to remove
> listeners by type. So the resource pool constructor would become:
>
>   catalog.removeListener(CacheClearingListener.class);
>   catalog.addListener(new CacheClearingListener());

I like this one, I'll try to give it a shot

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to