/**
* Generate the unique key.
* This key must be unique inside the space of this XSP page.
* This method will be invoked before the generateValidity() method.
*
* @return The generated key or 0 if the component
* is currently not cacheable.
*/
public long generateKey()
{
return 1;
}
/**
* Generate the validity object.
*
* @return The generated validity object or null
if the
* component is currently not cacheable.
*/
public org.apache.cocoon.caching.CacheValidity generateValidity() {
return new org.apache.cocoon.caching.NOPCacheValidity();
}
A Simple XSP Page using Content Aggregation
Brought to you by Cocoon at new Date().