On Thu, Jun 9, 2011 at 11:25 AM, <[email protected]> wrote:
>> Oh, I thought you were using xstream, which does not build a DOM,
>> uses a pull parser which is faster.
>
> You have the choice,
> XStream xstream = new XStream(new DomDriver());
Yep, thought it's a discouraged approach (because it's slow)
>>
>>>
>>> Another Idea which does not hurt:
>>>
>>> class WirteableFileWatcher<T> extends FileWatcher<T> {
>>> public write(T object) trhows IOException() {
>>> // code
>>> }
>>> }
>>
>> Still prefer the file watcher to be notified. Otherwise it's no
>> more a file watcher but an almost full persistence subsystem
>> (if you write, why not read too while you're at it?).
>> The persistence subsystem could be built using the file watcher
>> services as a delegate.
>
> Bought , should I prepare a patch for
>
> setKnownLastModified(long lastModified)
Yep, go ahead
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel