Package org.ametys.site
Class InvalidatePageAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.site.InvalidatePageAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,ThreadSafe
,Action
public class InvalidatePageAction extends ServiceableAction implements ThreadSafe
Invalidates cached data for a given site.
-
-
Field Summary
Fields Modifier and Type Field Description private CacheAccessManager
_cacheAccess
private org.slf4j.Logger
_logger
-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description InvalidatePageAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CacheAccessManager
_getCacheAccessManager()
Get the cache access managerMap
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
-
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_logger
private org.slf4j.Logger _logger
-
_cacheAccess
private CacheAccessManager _cacheAccess
-
-
Constructor Detail
-
InvalidatePageAction
public InvalidatePageAction()
-
-
Method Detail
-
_getCacheAccessManager
protected CacheAccessManager _getCacheAccessManager()
Get the cache access manager- Returns:
- the CacheAccessManager
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
-
-