cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Rolappe" <m_rola...@web.de>
Subject AW: 2.1x equivalent code
Date Sat, 13 Dec 2003 23:47:52 GMT
hi jorg,

> -----Ursprungliche Nachricht-----
> Von: users-return-59879-m_rolappe=web.de@cocoon.apache.org
> [mailto:users-return-59879-m_rolappe=web.de@cocoon.apache.org]Im Auftrag
> von Jorg Heymans
> Gesendet: Samstag, 13. Dezember 2003 23:19
> An: users@cocoon.apache.org
> Betreff: 2.1x equivalent code
> 
> 
> In 2.0 i would do the following to always cache a component
> 
> public CacheValidity generateValidity() {
>      return NOPCacheValidity.CACHE_VALIDITY;
> }
> 
> What is the 2.1x equivalent for this? (i'm writing a caching request 
> generator)
> 
> public SourceValidity getValidity() {
>      return ??;
> }

it's org.apache.excalibur.source.impl.validity.NOPValidity.SHARED_INSTANCE.


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


Mime
View raw message