cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [c2] storing objects on fs
Date Sun, 08 Jul 2001 19:49:03 GMT
On Sun, 8 Jul 2001, Gerhard Froehlich wrote:

> Hi Team,
> i've nearly implemented the storing of cocoon Objects on the filesystem.
> Sorry for the delay, but I've stress in paid work.
>
> Several questions:
> - Which method returns me the actual workdir

It depends. If you mean in a Component that you should make it
Contextualizable and get the work dir from the passed Context:

   String workdir = context.get(Constants.CONTEXT_WORK_DIR);

But did you had a look into the FilesystemStore class?

Giacomo

> - In which class,file I have to configure the cachedir
> - In the MRUMemoryStore exists a parameter objectlifetime. I thought it
> could be usefull. But is it really necessary, because the caching already
> checks if an object is valid or not?
>
> Cheers
> Gerhard
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message