Class ODFPageCache
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.odfweb.repository.ODFPageCache
-
- All Implemented Interfaces:
LogEnabled
,Component
,Contextualizable
,Serviceable
public class ODFPageCache extends AbstractLogEnabled implements Serviceable, Contextualizable, Component
Maintains a per-request cache, dispatching ODF virtual pages accross degrees and domains.
-
-
Constructor Summary
Constructors Constructor Description ODFPageCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearCache(Page rootPage)
Clear page cachevoid
contextualize(Context context)
void
service(ServiceManager manager)
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
ODFPageCache
public ODFPageCache()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
clearCache
public void clearCache(Page rootPage)
Clear page cache- Parameters:
rootPage
- The ODF root page
-
-