Package psiprobe
Class ProbeConfig
- java.lang.Object
-
- psiprobe.ProbeConfig
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@EnableWebMvc @Configuration @ComponentScan(basePackages="psiprobe") public class ProbeConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
The Class ProbeConfig.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Logger
logger
The Constant logger.
-
Constructor Summary
Constructors Constructor Description ProbeConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
List<String>
getAdapterClasses()
Gets the adapter classes.MultipleSeriesProvider
getAllAppAvgProcTime()
Gets the all app avg proc time.MultipleSeriesProvider
getAllAppReq()
Gets the all app req.StandardSeriesProvider
getAppAvgProcTime()
Gets the app avg proc time.StandardSeriesProvider
getAppReq()
Gets the app req.AppStatsCollectorBean
getAppStatsCollectorBean()
Gets the app stats collector bean.AppStatsJobDetail
getAppStatsJobDetail()
Gets the app stats job detail.AppStatsTrigger
getAppStatsTrigger()
Gets the app stats trigger.StandardSeriesProvider
getClRequest()
Gets the cl request.StandardSeriesProvider
getClTraffic()
Gets the cl traffic.ClusterStatsCollectorBean
getClusterStatsCollectorBean()
Gets the cluster stats collector bean.ClusterStatsJobDetail
getClusterStatsJobDetail()
Gets the cluster stats job detail.ClusterStatsTrigger
getClusterStatsTrigger()
Gets the cluster stats trigger.ClusterWrapperBean
getClusterWrapperBean()
Gets the cluster wrapper bean.StandardSeriesProvider
getConnector()
Gets the connector.StandardSeriesProvider
getConnectorProcTime()
Gets the connector proc time.ConnectorSeriesProvider
getConnectorSeriesProvider()
Gets the connector series provider.ConnectorStatsCollectorBean
getConnectorStatsCollectorBean()
Gets the connector stats collector bean.ConnectorStatsJobDetail
getConnectorStatsJobDetail()
Gets the connector stats job detail.ConnectorStatsTrigger
getConnectorStatsTrigger()
Gets the connector stats trigger.ContainerListenerBean
getContainerListenerBean()
Gets the container listener bean.ContainerWrapperBean
getContainerWrapperBean()
Gets the container wrapper bean.StandardSeriesProvider
getCpuUsage()
Gets the cpu usage.DatasourceStatsCollectorBean
getDatasourceStatsCollectorBean()
Gets the datasource stats collector bean.DatasourceStatsJobDetail
getDatasourceStatsJobDetail()
Gets the datasource stats job detail.DatasourceStatsTrigger
getDatasourceStatsTrigger()
Gets the datasource stats trigger.StandardSeriesProvider
getDatasourceUsage()
Gets the datasource usage.List<String>
getDefaultRes()
Gets the default res.StandardSeriesProvider
getFdUsage()
Gets the fd usage.org.springframework.web.servlet.HandlerMapping
getHandlerMapping(org.springframework.web.servlet.i18n.LocaleChangeInterceptor interceptor)
Gets the bean name url handler mapping.JBossResourceResolverBean
getJBossResourceResolverBean()
Gets the jboss resource resolver bean.JvmMemoryInfoAccessorBean
getJvmMemoryInfoAccessorBean()
Gets the jvm memory info accessor bean.JvmMemoryStatsCollectorBean
getJvmMemoryStatsCollectorBean()
Gets the jvm memory stats collector bean.org.springframework.web.servlet.i18n.LocaleChangeInterceptor
getLocaleChangeInterceptor()
Gets the locale change interceptor.org.springframework.web.servlet.LocaleResolver
getLocaleResolver()
Gets the cookie locale resolver.LogResolverBean
getLogResolverBean()
Gets the log resolver bean.Mailer
getMailer()
Gets the mailer.List<StatsCollectionListener>
getMemoryPoolMailingListener()
Gets the memory pool mailing listener.MemoryStatsJobDetail
getMemoryStatsJobDetail()
Gets the memory stats job detail.MemoryStatsTrigger
getMemoryStatsTrigger()
Gets the memory stats trigger.StandardSeriesProvider
getMemoryUsage()
Gets the memory usage.org.springframework.context.MessageSource
getMessageSource()
Gets the reloadable resource bundle message source.StandardSeriesProvider
getOsMemory()
Gets the os memory.static org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
getPropertyPlaceholderConfigurer()
Gets the property placeholder configurer.ResourceResolverBean
getResourceResolverBean()
Gets the resource resolver bean.Map<String,ResourceResolver>
getResourceResolvers(JBossResourceResolverBean jbossResourceResolverBean, ResourceResolverBean resourceResolverBean)
Gets the resource resolvers.RuntimeInfoAccessorBean
getRuntimeInfoAccessorBean()
Gets the runtime info accessor bean.RuntimeStatsCollectorBean
getRuntimeStatsCollectorBean()
Gets the runtime stats collector bean.RuntimeStatsJobDetail
getRuntimeStatsJobDetail()
Gets the runtime stats job detail.RuntimeStatsTrigger
getRuntimeStatsTrigger()
Gets the runtime stats trigger.org.springframework.scheduling.quartz.SchedulerFactoryBean
getSchedulerFactoryBean(AppStatsTrigger appStatsTrigger, ClusterStatsTrigger clusterStatsTrigger, ConnectorStatsTrigger connectorStatsTrigger, DatasourceStatsTrigger datasourceStatsTrigger, MemoryStatsTrigger memoryStatsTrigger, RuntimeStatsTrigger runtimeStatsTrigger, StatsSerializerTrigger statsSerializerTrigger)
Gets the scheduler factory bean.StatsCollection
getStatsCollection()
Gets the stats collection.StatsSerializerJobDetail
getStatsSerializerJobDetail()
Gets the stats serializer job detail.StatsSerializerTrigger
getStatsSerializerTrigger()
Gets the stats serializer trigger.List<String>
getStdoutFiles()
Gets the stdout files.StandardSeriesProvider
getSwapUsage()
Gets the swap usage.org.springframework.web.servlet.ThemeResolver
getThemeResolver()
Gets the fixed theme resolver.StandardSeriesProvider
getTotalAvgProcTime()
Gets the total avg proc time.StandardSeriesProvider
getTotalReq()
Gets the total req.StandardSeriesProvider
getTraffic()
Gets the traffic.org.springframework.web.servlet.ViewResolver
getViewResolver()
Gets the internal resource view resolver.org.springframework.beans.factory.FactoryBean<Properties>
stdout()
Version.org.springframework.beans.factory.config.PropertiesFactoryBean
version()
Version.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
getContainerListenerBean
@Bean(name="containerListener") public ContainerListenerBean getContainerListenerBean()
Gets the container listener bean.- Returns:
- the container listener bean
-
getContainerWrapperBean
@Bean(name="containerWrapper") public ContainerWrapperBean getContainerWrapperBean()
Gets the container wrapper bean.- Returns:
- the container wrapper bean
-
getClusterWrapperBean
@Bean(name="clusterWrapper") public ClusterWrapperBean getClusterWrapperBean()
Gets the cluster wrapper bean.- Returns:
- the cluster wrapper bean
-
getMailer
@Bean(name="mailer") public Mailer getMailer()
Gets the mailer.- Returns:
- the mailer
-
getDefaultRes
@Bean(name="datasourceMappers") public List<String> getDefaultRes()
Gets the default res.- Returns:
- the default res
-
getResourceResolverBean
@Bean(name="default") public ResourceResolverBean getResourceResolverBean()
Gets the resource resolver bean.- Returns:
- the resource resolver bean
-
getJBossResourceResolverBean
@Bean(name="jboss") public JBossResourceResolverBean getJBossResourceResolverBean()
Gets the jboss resource resolver bean.- Returns:
- the jboss resource resolver bean
-
getResourceResolvers
@Bean(name="resourceResolvers") public Map<String,ResourceResolver> getResourceResolvers(@Autowired JBossResourceResolverBean jbossResourceResolverBean, @Autowired ResourceResolverBean resourceResolverBean)
Gets the resource resolvers.- Parameters:
jbossResourceResolverBean
- the jboss resource resolver beanresourceResolverBean
- the resource resolver bean- Returns:
- the resource resolvers
-
getAdapterClasses
@Bean(name="adapterClasses") public List<String> getAdapterClasses()
Gets the adapter classes.- Returns:
- the adapter classes
-
getStdoutFiles
@Bean(name="stdoutFiles") public List<String> getStdoutFiles()
Gets the stdout files. Any file added to this list will be displayed.- Returns:
- the stdout files
-
stdout
@Bean(name="stdout") public org.springframework.beans.factory.FactoryBean<Properties> stdout()
Version.- Returns:
- the properties factory bean
-
getLogResolverBean
@Bean(name="logResolver") public LogResolverBean getLogResolverBean()
Gets the log resolver bean.- Returns:
- the log resolver bean
-
getStatsCollection
@Bean(name="statsCollection") public StatsCollection getStatsCollection()
Gets the stats collection.- Returns:
- the stats collection
-
getConnectorStatsCollectorBean
@Bean(name="connectorStatsCollector") public ConnectorStatsCollectorBean getConnectorStatsCollectorBean()
Gets the connector stats collector bean.- Returns:
- the connector stats collector bean
-
getClusterStatsCollectorBean
@Bean(name="clusterStatsCollector") public ClusterStatsCollectorBean getClusterStatsCollectorBean()
Gets the cluster stats collector bean.- Returns:
- the cluster stats collector bean
-
getRuntimeStatsCollectorBean
@Bean(name="runtimeStatsCollector") public RuntimeStatsCollectorBean getRuntimeStatsCollectorBean()
Gets the runtime stats collector bean.- Returns:
- the runtime stats collector bean
-
getAppStatsCollectorBean
@Bean(name="appStatsCollector") public AppStatsCollectorBean getAppStatsCollectorBean()
Gets the app stats collector bean.- Returns:
- the app stats collector bean
-
getJvmMemoryStatsCollectorBean
@Bean(name="memoryStatsCollector") public JvmMemoryStatsCollectorBean getJvmMemoryStatsCollectorBean()
Gets the jvm memory stats collector bean.- Returns:
- the jvm memory stats collector bean
-
getDatasourceStatsCollectorBean
@Bean(name="datasourceStatsCollector") public DatasourceStatsCollectorBean getDatasourceStatsCollectorBean()
Gets the datasource stats collector bean.- Returns:
- the datasource stats collector bean
-
getJvmMemoryInfoAccessorBean
@Bean(name="jvmMemoryInfoAccessor") public JvmMemoryInfoAccessorBean getJvmMemoryInfoAccessorBean()
Gets the jvm memory info accessor bean.- Returns:
- the jvm memory info accessor bean
-
getRuntimeInfoAccessorBean
@Bean(name="runtimeInfoAccessor") public RuntimeInfoAccessorBean getRuntimeInfoAccessorBean()
Gets the runtime info accessor bean.- Returns:
- the runtime info accessor bean
-
getMemoryPoolMailingListener
@Bean(name="listeners") public List<StatsCollectionListener> getMemoryPoolMailingListener()
Gets the memory pool mailing listener.- Returns:
- the memory pool mailing listener
-
getViewResolver
@Bean(name="jspViewResolver") public org.springframework.web.servlet.ViewResolver getViewResolver()
Gets the internal resource view resolver.- Returns:
- the internal resource view resolver
-
getThemeResolver
@Bean(name="themeResolver") public org.springframework.web.servlet.ThemeResolver getThemeResolver()
Gets the fixed theme resolver.- Returns:
- the fixed theme resolver
-
getMessageSource
@Bean(name="messageSource") public org.springframework.context.MessageSource getMessageSource()
Gets the reloadable resource bundle message source.- Returns:
- the reloadable resource bundle message source
-
getLocaleResolver
@Bean(name="localeResolver") public org.springframework.web.servlet.LocaleResolver getLocaleResolver()
Gets the cookie locale resolver.- Returns:
- the cookie locale resolver
-
getHandlerMapping
@Bean(name="handlerMapping") public org.springframework.web.servlet.HandlerMapping getHandlerMapping(@Autowired org.springframework.web.servlet.i18n.LocaleChangeInterceptor interceptor)
Gets the bean name url handler mapping.- Parameters:
interceptor
- the interceptor- Returns:
- the bean name url handler mapping
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Specified by:
addInterceptors
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
getLocaleChangeInterceptor
@Bean(name="localeChangeInterceptor") public org.springframework.web.servlet.i18n.LocaleChangeInterceptor getLocaleChangeInterceptor()
Gets the locale change interceptor.- Returns:
- the locale change interceptor
-
getPropertyPlaceholderConfigurer
@Bean(name="propertyPlaceholderConfigurer") public static org.springframework.beans.factory.config.PropertyPlaceholderConfigurer getPropertyPlaceholderConfigurer()
Gets the property placeholder configurer.- Returns:
- the property placeholder configurer
-
version
@Bean(name="version") public org.springframework.beans.factory.config.PropertiesFactoryBean version()
Version.- Returns:
- the properties factory bean
-
getConnectorSeriesProvider
@Bean(name="rcn") public ConnectorSeriesProvider getConnectorSeriesProvider()
Gets the connector series provider.- Returns:
- the connector series provider
-
getClTraffic
@Bean(name="cl_traffic") public StandardSeriesProvider getClTraffic()
Gets the cl traffic.- Returns:
- the cl traffic
-
getClRequest
@Bean(name="cl_request") public StandardSeriesProvider getClRequest()
Gets the cl request.- Returns:
- the cl request
-
getConnector
@Bean(name="connector") public StandardSeriesProvider getConnector()
Gets the connector.- Returns:
- the connector
-
getTraffic
@Bean(name="traffic") public StandardSeriesProvider getTraffic()
Gets the traffic.- Returns:
- the traffic
-
getConnectorProcTime
@Bean(name="connector_proc_time") public StandardSeriesProvider getConnectorProcTime()
Gets the connector proc time.- Returns:
- the connector proc time
-
getMemoryUsage
@Bean(name="memory_usage") public StandardSeriesProvider getMemoryUsage()
Gets the memory usage.- Returns:
- the memory usage
-
getOsMemory
@Bean(name="os_memory") public StandardSeriesProvider getOsMemory()
Gets the os memory.- Returns:
- the os memory
-
getSwapUsage
@Bean(name="swap_usage") public StandardSeriesProvider getSwapUsage()
Gets the swap usage.- Returns:
- the swap usage
-
getCpuUsage
@Bean(name="cpu_usage") public StandardSeriesProvider getCpuUsage()
Gets the cpu usage.- Returns:
- the cpu usage
-
getFdUsage
@Bean(name="fd_usage") public StandardSeriesProvider getFdUsage()
Gets the fd usage.- Returns:
- the fd usage
-
getAppReq
@Bean(name="app_req") public StandardSeriesProvider getAppReq()
Gets the app req.- Returns:
- the app req
-
getAppAvgProcTime
@Bean(name="app_avg_proc_time") public StandardSeriesProvider getAppAvgProcTime()
Gets the app avg proc time.- Returns:
- the app avg proc time
-
getTotalAvgProcTime
@Bean(name="total_avg_proc_time") public StandardSeriesProvider getTotalAvgProcTime()
Gets the total avg proc time.- Returns:
- the total avg proc time
-
getTotalReq
@Bean(name="total_req") public StandardSeriesProvider getTotalReq()
Gets the total req.- Returns:
- the total req
-
getDatasourceUsage
@Bean(name="datasource_usage") public StandardSeriesProvider getDatasourceUsage()
Gets the datasource usage.- Returns:
- the datasource usage
-
getAllAppAvgProcTime
@Bean(name="all_app_avg_proc_time") public MultipleSeriesProvider getAllAppAvgProcTime()
Gets the all app avg proc time.- Returns:
- the all app avg proc time
-
getAllAppReq
@Bean(name="all_app_req") public MultipleSeriesProvider getAllAppReq()
Gets the all app req.- Returns:
- the all app req
-
getConnectorStatsJobDetail
@Bean(name="connectorStatsJobDetail") public ConnectorStatsJobDetail getConnectorStatsJobDetail()
Gets the connector stats job detail.- Returns:
- the connector stats job detail
-
getClusterStatsJobDetail
@Bean(name="clusterStatsJobDetail") public ClusterStatsJobDetail getClusterStatsJobDetail()
Gets the cluster stats job detail.- Returns:
- the cluster stats job detail
-
getMemoryStatsJobDetail
@Bean(name="memoryStatsJobDetail") public MemoryStatsJobDetail getMemoryStatsJobDetail()
Gets the memory stats job detail.- Returns:
- the memory stats job detail
-
getRuntimeStatsJobDetail
@Bean(name="runtimeStatsJobDetail") public RuntimeStatsJobDetail getRuntimeStatsJobDetail()
Gets the runtime stats job detail.- Returns:
- the runtime stats job detail
-
getAppStatsJobDetail
@Bean(name="appStatsJobDetail") public AppStatsJobDetail getAppStatsJobDetail()
Gets the app stats job detail.- Returns:
- the app stats job detail
-
getDatasourceStatsJobDetail
@Bean(name="datasourceStatsJobDetail") public DatasourceStatsJobDetail getDatasourceStatsJobDetail()
Gets the datasource stats job detail.- Returns:
- the datasource stats job detail
-
getStatsSerializerJobDetail
@Bean(name="statsSerializerJobDetail") public StatsSerializerJobDetail getStatsSerializerJobDetail()
Gets the stats serializer job detail.- Returns:
- the stats serializer job detail
-
getConnectorStatsTrigger
@Bean(name="connectorStatsTrigger") public ConnectorStatsTrigger getConnectorStatsTrigger()
Gets the connector stats trigger.- Returns:
- the connector stats trigger
-
getClusterStatsTrigger
@Bean(name="clusterStatsTrigger") public ClusterStatsTrigger getClusterStatsTrigger()
Gets the cluster stats trigger.- Returns:
- the cluster stats trigger
-
getMemoryStatsTrigger
@Bean(name="memoryStatsTrigger") public MemoryStatsTrigger getMemoryStatsTrigger()
Gets the memory stats trigger.- Returns:
- the memory stats trigger
-
getRuntimeStatsTrigger
@Bean(name="runtimeStatsTrigger") public RuntimeStatsTrigger getRuntimeStatsTrigger()
Gets the runtime stats trigger.- Returns:
- the runtime stats trigger
-
getAppStatsTrigger
@Bean(name="appStatsTrigger") public AppStatsTrigger getAppStatsTrigger()
Gets the app stats trigger.- Returns:
- the app stats trigger
-
getDatasourceStatsTrigger
@Bean(name="datasourceStatsTrigger") public DatasourceStatsTrigger getDatasourceStatsTrigger()
Gets the datasource stats trigger.- Returns:
- the datasource stats trigger
-
getStatsSerializerTrigger
@Bean(name="statsSerializerTrigger") public StatsSerializerTrigger getStatsSerializerTrigger()
Gets the stats serializer trigger.- Returns:
- the stats serializer trigger
-
getSchedulerFactoryBean
@Bean(name="scheduler") public org.springframework.scheduling.quartz.SchedulerFactoryBean getSchedulerFactoryBean(@Autowired AppStatsTrigger appStatsTrigger, @Autowired ClusterStatsTrigger clusterStatsTrigger, @Autowired ConnectorStatsTrigger connectorStatsTrigger, @Autowired DatasourceStatsTrigger datasourceStatsTrigger, @Autowired MemoryStatsTrigger memoryStatsTrigger, @Autowired RuntimeStatsTrigger runtimeStatsTrigger, @Autowired StatsSerializerTrigger statsSerializerTrigger)
Gets the scheduler factory bean.- Parameters:
appStatsTrigger
- the app stats triggerclusterStatsTrigger
- the cluster stats triggerconnectorStatsTrigger
- the connector stats triggerdatasourceStatsTrigger
- the datasource stats triggermemoryStatsTrigger
- the memory stats triggerruntimeStatsTrigger
- the runtime stats triggerstatsSerializerTrigger
- the stats serializer trigger- Returns:
- the scheduler factory bean
-
-