On Tue, Apr 30, 2013 at 5:26 PM, Justin Deoliveira <[email protected]> wrote: >> The library is also quite small. The idea is that we'd use a Spring >> registered Cloner object to deep clone the contents of all collections >> before returning them out of a modification proxy. > > > Hmmm... i am kind of hesitant to add a new library dependency at such a core > level. Thinking, what about using annotations for this? Basically we could > come up with something that looked like this: > > LayerInfo { > > @Proxy(target=MetadataLinkInfo.class) > List<MetadataLinkinfo> getMetadataLinks(); > > } > > Which could then be recognized by ModProxy and an appropriate collection > wrapper wrapping individual elements in a proxy could be implemented.
That would work for MetadataLinkInfo, however, I don't believe it would be applicable to VirtualTable and the INSPIRE module UniqueResourceIdentifiers, which are both classes. We cannot proxy them using ModificationProxy as far as I know... 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 ------------------------------------------------------- ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
