Hi all,
yesterday I was debugging geoserver to figure out why any global change is
triggering a JAI initialization and a coverageAccess initialization.
Long story short the handleGlobalChange and the handlePostGlobalChange of
the custom ConfigurationListenerAdapter simply invoke the initialization
method without doing any check of the changed properties/values.
Beside of that, I have noticed that the propertyNames, oldValues and
newValues lists are empty (even when changing some params from the JAI page
or the CoverageAccess page). The only changing thing seems the
"updateSequence".
After a brief meeting with Andrea, the outcome of the discussion is that
the properties changes won't be reported to the listener in case the
properties belong to an object which is nested in the main object (as
CoverageAccessInfo and JAIInfo are nested into GeoServerInfo).
Having these properties changes being notified would allow to check them
and potentially avoid some initializations (JAI TileCache settings,
TileScheduler settings, Tile Recycling , CoverageAccess threadPoolExecutor
settings) when they aren't needed.
How can we deal with that?
Best Regards,
Daniele
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel