|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.deliver.applications.actions.ViewApplicationStateAction
public class ViewApplicationStateAction
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.
| Field Summary |
|---|
| Fields inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction |
|---|
colorScheme |
| Fields inherited from interface webwork.action.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
ViewApplicationStateAction()
The constructor for this action - contains nothing right now. |
|
| Method Summary | |
|---|---|
java.lang.String |
doClearCache()
This action allows clearing of the given cache manually. |
java.lang.String |
doClearCaches()
This action allows clearing of the caches manually. |
java.lang.String |
doExecute()
This method is the application entry-point. |
java.lang.String |
doGC()
|
java.lang.String |
doReCache()
This action allows recaching of some parts of the caches manually. |
java.lang.String |
doSetLogError()
This action allows setting of the loglevel on some basic classes. |
java.lang.String |
doSetLogInfo()
This action allows setting of the loglevel on some basic classes. |
java.lang.String |
doSetLogLevel()
This action allows setting of the loglevel on any class. |
java.lang.String |
doSetLogWarning()
This action allows setting of the loglevel on some basic classes. |
java.util.Map |
getCaches()
|
java.util.Map |
getEventListeners()
|
boolean |
getIsApplicationSettingsOk()
|
boolean |
getIsDatabaseConnectionOk()
|
boolean |
getIsDiskPermissionOk()
|
boolean |
getIsTestQueriesOk()
|
java.lang.String |
getServerName()
|
java.util.List |
getSessionInfoBeanList()
|
java.util.List |
getStates()
|
void |
setCacheName(java.lang.String cacheName)
|
void |
setClassName(java.lang.String className)
|
void |
setLogLevel(java.lang.String logLevel)
|
| Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction |
|---|
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getLogger, getLogoutURL, getOriginalFullURL, getParameter, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getSingleParameter, getThis, getToolId, getToolLocales, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme, setLanguageCode, setToolId |
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
|---|
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewApplicationStateAction()
| Method Detail |
|---|
public java.lang.String doClearCache()
throws java.lang.Exception
java.lang.Exception
public java.lang.String doSetLogLevel()
throws java.lang.Exception
java.lang.Exception
public java.lang.String doSetLogInfo()
throws java.lang.Exception
java.lang.Exception
public java.lang.String doSetLogWarning()
throws java.lang.Exception
java.lang.Exception
public java.lang.String doSetLogError()
throws java.lang.Exception
java.lang.Exception
public java.lang.String doClearCaches()
throws java.lang.Exception
java.lang.Exception
public java.lang.String doReCache()
throws java.lang.Exception
java.lang.Exception
public java.lang.String doGC()
throws java.lang.Exception
java.lang.Exception
public java.lang.String doExecute()
throws java.lang.Exception
doExecute in class WebworkAbstractActionjava.lang.Exceptionpublic boolean getIsApplicationSettingsOk()
public boolean getIsDatabaseConnectionOk()
public boolean getIsDiskPermissionOk()
public boolean getIsTestQueriesOk()
public java.util.Map getCaches()
public java.util.Map getEventListeners()
public java.util.List getStates()
public void setCacheName(java.lang.String cacheName)
public java.util.List getSessionInfoBeanList()
public java.lang.String getServerName()
public void setClassName(java.lang.String className)
public void setLogLevel(java.lang.String logLevel)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||