Class ODFPageCache
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.odfweb.repository.ODFPageCache
- All Implemented Interfaces:
LogEnabled
,Initializable
,Component
,Serviceable
public class ODFPageCache
extends AbstractLogEnabled
implements Serviceable, Initializable, Component
Maintains a per-request cache, dispatching ODF virtual pages accross degrees and domains.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearCache
(Page rootPage) Clear page cachevoid
void
service
(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Avalon role.
-
-
Constructor Details
-
ODFPageCache
public ODFPageCache()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
clearCache
Clear page cache- Parameters:
rootPage
- The ODF root page
-