Package org.ametys.web
Class CheckSiteConfigurationAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.web.CheckSiteConfigurationAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class CheckSiteConfigurationAction extends ServiceableAction
Check that a site's configuration is valid.
If not, the action can either redirect to the configuration screen or send a HTTP 503 error.
-
-
Field Summary
Fields Modifier and Type Field Description protected SiteConfigurationManager
_siteConfigurationManager
The site configuration manager.-
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 CheckSiteConfigurationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
void
service(ServiceManager serviceManager)
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_siteConfigurationManager
protected SiteConfigurationManager _siteConfigurationManager
The site configuration manager.
-
-
Constructor Detail
-
CheckSiteConfigurationAction
public CheckSiteConfigurationAction()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
Exception
-
-