org.infoglue.cms.applications.deliver.actions
Class ViewApplicationStateAction
java.lang.Object
|
+--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
|
+--org.infoglue.cms.applications.deliver.actions.ViewApplicationStateAction
- All Implemented Interfaces:
- webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
- public class ViewApplicationStateAction
- extends org.infoglue.cms.applications.common.actions.WebworkAbstractAction
This is the action that shows the application state and also can be used to set up surveilence.
The idea is to have one command which allways returns a known resultpage if it's ok. Otherwise it prints
an error-statement. This action is then called every x minutes by the surveilence and an alarm is raised if something is wrong.
We also have a command which can list more status about the application.
- Author:
- Mattias Bogeblad
- See Also:
- Serialized Form
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, SUCCESS |
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
doDefault, execute, getCurrentUrl, getError, getErrors, getSession, setCommand, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewApplicationStateAction
public ViewApplicationStateAction()
- The constructor for this action - contains nothing right now.
doExecute
public java.lang.String doExecute()
throws java.lang.Exception
- This method is the application entry-point. The method does a lot of checks to see if infoglue
is installed correctly and if all resources needed are available.
- Overrides:
doExecute in class org.infoglue.cms.applications.common.actions.WebworkAbstractAction
java.lang.Exception
getIsApplicationSettingsOk
public boolean getIsApplicationSettingsOk()
getIsDatabaseConnectionOk
public boolean getIsDatabaseConnectionOk()
getIsDiskPermissionOk
public boolean getIsDiskPermissionOk()
getIsTestQueriesOk
public boolean getIsTestQueriesOk()