cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject Re: Validity question
Date Wed, 07 Apr 2004 22:54:10 GMT
Il giorno 08/apr/04, alle 00:18, Upayavira ha scritto:

> Ugo Cei wrote:
>
>> Excuse me if this is a FAQ, but what is a generator implementing the 
>> o.a.c.caching.CacheableProcessingComponent interface expected to 
>> return as the value of the "getValidity" method, in case the 
>> generated content never changes?
>
> It can return NOPValidity.SHARED_INSTANCE if you want to say that it 
> is okay to cache this component.
>
> This can be found in the package 
> org.apache.excalibur.source.impl.validity
>
> Regards, Upayavira
>
>
Thanks.

	Ugo


Mime
View raw message