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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]