Thanks Michael.
So no need to log a warning if there are no listeners.
On Thu, Feb 5, 2015 at 6:01 PM Michael Bedward <michael.bedw...@gmail.com>
wrote:
> Hi Andrea, Jody,
>
> My memory of it is very hazy. I just looked through my old emails and
> found the one below which mentions the motivation for dispose in Layer
> which, I suppose, carried through to MapContent.
>
> On 7 June 2010 at 23:36, Jody Garnett <jody.garn...@gmail.com> wrote:
> > Had a good session hacking on:
> > - http://docs.codehaus.org/display/GEOTOOLS/MapContext+Refactor
> >
> > Resulting in a pretty picture and some sample code that I will form into
> a patch (or commit?)
> >
> > Surprises:
> > - The approach for replacing DefaultMapLayer is working
> > - MapContext has code and events around "area of interest" - that
> everyone is ignoring :-) I think we should keep and use them; but Micheal
> is in shock and would like a separate viewport model (crs+bounds+map of
> intersting stuff like elevation, time)
> > - Ended up with Map and Layer ... what do you think?
> > - Layer needs a dispose (so it can stop listening to a feature source);
> or it needs an interactive flag for geoserver use so it never starts
> listening
> >
> > Jody (and Michael under duress)
>
>
> On 6 February 2015 at 04:12, Andrea Aime <andrea.a...@geo-solutions.it>
> wrote:
> > On Thu, Feb 5, 2015 at 6:01 PM, Jody Garnett <jody.garn...@gmail.com>
> wrote:
> >>
> >> Does MapContent hold anything we need to clean up then?
> >
> >
> > Eh... I wish I remember why we were doing that... I cannot find anything
> in
> > the archives, and the git history is
> > too short.
> > I believe Michael Bedwards was involved... Michael, are you around? Any
> > memory of why we have the dispose
> > method at all?
> >
> > Cheers
> > Andrea
> >
> > --
> > ==
> > GeoServer Professional Services from the experts! Visit
> > http://goo.gl/NWWaa2 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
> >
> > AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
> >
> > Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i
> > file/s allegato/i sono da considerarsi strettamente riservate. Il loro
> > utilizzo è consentito esclusivamente al destinatario del messaggio, per
> le
> > finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio
> > senza esserne il destinatario, Vi preghiamo cortesemente di darcene
> notizia
> > via e-mail e di procedere alla distruzione del messaggio stesso,
> > cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo
> > anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo
> per
> > finalità diverse, costituisce comportamento contrario ai principi dettati
> > dal D.Lgs. 196/2003.
> >
> >
> >
> > The information in this message and/or attachments, is intended solely
> for
> > the attention and use of the named addressee(s) and may be confidential
> or
> > proprietary in nature or covered by the provisions of privacy act
> > (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> > Code).Any use not in accord with its purpose, any disclosure,
> reproduction,
> > copying, distribution, or either dissemination, either whole or partial,
> is
> > strictly forbidden except previous formal approval of the named
> > addressee(s). If you are not the intended recipient, please contact
> > immediately the sender by telephone, fax or e-mail and delete the
> > information in this message that has been received in error. The sender
> does
> > not give any warranty or accept liability as the content, accuracy or
> > completeness of sent messages and accepts no responsibility for changes
> > made after they were sent or for other risks which arise as a result of
> > e-mail transmission, viruses, etc.
> >
> >
> > -------------------------------------------------------
> >
> > ------------------------------------------------------------
> ------------------
> > Dive into the World of Parallel Programming. The Go Parallel Website,
> > sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> > hub for all things parallel software development, from weekly thought
> > leadership blogs to news, videos, case studies, tutorials and more. Take
> a
> > look and join the conversation now. http://goparallel.sourceforge.net/
> > _______________________________________________
> > GeoTools-Devel mailing list
> > GeoTools-Devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geotools-devel
> >
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel