On Tue, May 28, 2013 at 2:55 PM, Justin Deoliveira <[email protected]>wrote:
> Do we have any beans with final methods that change state? My thought
> would be no since the classes we are talking about are typically dumb data
> projects. But i could be wrong.
>
We don't have any today, yet, the metadata map is a generic mechanism.
Or we can go the cglib way and update the metadata map javadoc demanding no
final methods in the objects stored there: if we add this new limitation it
has to be documented.
Thinking about it... the metadata map already requires that the objects be
put in there are Serializable,
so maybe the easiest thing to do is to deep clone them by serialization
(maybe using XStream?) and
be done with it.
Cheers
Andrea
--
==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.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
-------------------------------------------------------
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel