Package psiprobe.controllers.system
Class BaseSysInfoController
- java.lang.Object
-
- org.springframework.context.support.ApplicationObjectSupport
-
- org.springframework.web.context.support.WebApplicationObjectSupport
-
- org.springframework.web.servlet.support.WebContentGenerator
-
- org.springframework.web.servlet.mvc.AbstractController
-
- psiprobe.controllers.AbstractTomcatContainerController
-
- psiprobe.controllers.system.BaseSysInfoController
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
,org.springframework.web.servlet.mvc.Controller
- Direct Known Subclasses:
OsInfoAjaxController
,OsInfoController
,SysInfoController
,SysPropsController
public class BaseSysInfoController extends AbstractTomcatContainerController
Creates an instance of SystemInformation.
-
-
Field Summary
Fields Modifier and Type Field Description private long
collectionPeriod
The collection period.private List<String>
filterOutKeys
The filter out keys.private RuntimeInfoAccessorBean
runtimeInfoAccessor
The runtime info accessor.-
Fields inherited from class psiprobe.controllers.AbstractTomcatContainerController
logger
-
-
Constructor Summary
Constructors Constructor Description BaseSysInfoController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCollectionPeriod()
Gets the collection period.List<String>
getFilterOutKeys()
Gets the filter out keys.RuntimeInfoAccessorBean
getRuntimeInfoAccessor()
Gets the runtime info accessor.protected org.springframework.web.servlet.ModelAndView
handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
setCollectionPeriod(long collectionPeriod)
Sets the collection period.void
setFilterOutKeys(List<String> filterOutKeys)
Sets the filter out keys.void
setRuntimeInfoAccessor(RuntimeInfoAccessorBean runtimeInfoAccessor)
Sets the runtime info accessor.-
Methods inherited from class psiprobe.controllers.AbstractTomcatContainerController
getContainerWrapper, getViewName, setContainerWrapper, setViewName
-
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
-
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeaders
-
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
-
-
-
-
Field Detail
-
runtimeInfoAccessor
@Inject private RuntimeInfoAccessorBean runtimeInfoAccessor
The runtime info accessor.
-
collectionPeriod
private long collectionPeriod
The collection period.
-
-
Method Detail
-
getFilterOutKeys
public List<String> getFilterOutKeys()
Gets the filter out keys.- Returns:
- the filter out keys
-
setFilterOutKeys
public void setFilterOutKeys(List<String> filterOutKeys)
Sets the filter out keys.- Parameters:
filterOutKeys
- the new filter out keys
-
getRuntimeInfoAccessor
public RuntimeInfoAccessorBean getRuntimeInfoAccessor()
Gets the runtime info accessor.- Returns:
- the runtime info accessor
-
setRuntimeInfoAccessor
public void setRuntimeInfoAccessor(RuntimeInfoAccessorBean runtimeInfoAccessor)
Sets the runtime info accessor.- Parameters:
runtimeInfoAccessor
- the new runtime info accessor
-
getCollectionPeriod
public long getCollectionPeriod()
Gets the collection period.- Returns:
- the collection period
-
setCollectionPeriod
public void setCollectionPeriod(long collectionPeriod)
Sets the collection period.- Parameters:
collectionPeriod
- the new collection period
-
handleRequestInternal
protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
- Specified by:
handleRequestInternal
in classorg.springframework.web.servlet.mvc.AbstractController
- Throws:
Exception
-
-