Package org.ametys.site
Class IsPageCacheableAction
- java.lang.Object
- 
- org.apache.avalon.framework.logger.AbstractLogEnabled
- 
- org.apache.cocoon.acting.AbstractAction
- 
- org.apache.cocoon.acting.ServiceableAction
- 
- org.ametys.site.IsPageCacheableAction
 
 
 
 
- 
- All Implemented Interfaces:
- Component,- LogEnabled,- Serviceable,- ThreadSafe,- Action
 
 public class IsPageCacheableAction extends ServiceableAction implements ThreadSafe Blocks until the cacheable status is known.
- 
- 
Field SummaryFields Modifier and Type Field Description protected CacheAccessManager_cacheAccessThe cache access component.protected SourceResolver_resolverThe source resolver.protected ResourceAccessComponent_resourceAccessComponentThe resource access monitoring component- 
Fields inherited from class org.apache.cocoon.acting.ServiceableActionmanager
 - 
Fields inherited from class org.apache.cocoon.acting.AbstractActionEMPTY_MAP
 
- 
 - 
Constructor SummaryConstructors Constructor Description IsPageCacheableAction()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CacheAccessManager_getCacheAccessManager()Get the cache access managerprotected ResourceAccessComponent_getResourceAccessComponent()Get the resource access componentprotected boolean_resourceExists(SourceResolver resolver, String resourceURI)Tests if the resource exists.Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)- 
Methods inherited from class org.apache.cocoon.acting.ServiceableActionservice
 - 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabledenableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
- 
 
- 
- 
- 
Field Detail- 
_cacheAccessprotected CacheAccessManager _cacheAccess The cache access component.
 - 
_resourceAccessComponentprotected ResourceAccessComponent _resourceAccessComponent The resource access monitoring component
 - 
_resolverprotected SourceResolver _resolver The source resolver.
 
- 
 - 
Constructor Detail- 
IsPageCacheableActionpublic IsPageCacheableAction() 
 
- 
 - 
Method Detail- 
_getCacheAccessManagerprotected CacheAccessManager _getCacheAccessManager() Get the cache access manager- Returns:
- the CacheAccessManager
 
 - 
_getResourceAccessComponentprotected ResourceAccessComponent _getResourceAccessComponent() Get the resource access component- Returns:
- the ResourceAccessComponent
 
 - 
actpublic Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception 
 - 
_resourceExistsprotected boolean _resourceExists(SourceResolver resolver, String resourceURI) Tests if the resource exists.- Parameters:
- resolver- the resolver.
- resourceURI- the resource uri.
- Returns:
- true if the resource exists, false otherwise.
 
 
- 
 
-