You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Max Pfingsthorn <m....@hippo.nl> on 2006/03/01 15:14:28 UTC

repository block

Hi!

I want to refactor the repository block so that SourceProperty is an interface. Or at least implement readObject() and writeObject(), so it can be serialized. SourceProperty not being Serializable makes the WebDAVSource (and any other which implements InspectableSource) not cacheable via the CachingSourceFactory from the scratchpad.

Anyone against that?

Best regards,

Max Pfingsthorn

Hippo  

Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
-------------------------------------------------------------
m.pfingsthorn@hippo.nl / www.hippo.nl
-------------------------------------------------------------

Re: repository block

Posted by Jean-Baptiste Quenot <jb...@apache.org>.
* Max Pfingsthorn:

> I want to  refactor the repository block  so that SourceProperty
> is  an   interface. Or  at  least  implement   readObject()  and
> writeObject(),  so  it  can  be  serialized. SourceProperty  not
> being  Serializable  makes  the   WebDAVSource  (and  any  other
> which  implements  InspectableSource)   not  cacheable  via  the
> CachingSourceFactory from the scratchpad.

Hello Max,

Does CachingSourceFactory give an error?   How do you observe that
WebDAVSource is not cacheable?
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/