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
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
The Constant logger. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptors
(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) Gets the adapter classes.Gets the all app avg proc time.Gets the all app req.Gets the app avg proc time.Gets the app req.Gets the app stats collector bean.Gets the app stats job detail.Gets the app stats trigger.Gets the cl request.Gets the cl traffic.Gets the cluster stats collector bean.Gets the cluster stats job detail.Gets the cluster stats trigger.Gets the cluster wrapper bean.Gets the connector.Gets the connector proc time.Gets the connector series provider.Gets the connector stats collector bean.Gets the connector stats job detail.Gets the connector stats trigger.Gets the container listener bean.Gets the container wrapper bean.Gets the cpu usage.Gets the datasource stats collector bean.Gets the datasource stats job detail.Gets the datasource stats trigger.Gets the datasource usage.Gets the default res.Gets the fd usage.org.springframework.web.servlet.HandlerMapping
getHandlerMapping
(org.springframework.web.servlet.i18n.LocaleChangeInterceptor interceptor) Gets the bean name url handler mapping.Gets the jboss resource resolver bean.Gets the jvm memory info accessor bean.Gets the jvm memory stats collector bean.org.springframework.web.servlet.i18n.LocaleChangeInterceptor
Gets the locale change interceptor.org.springframework.web.servlet.LocaleResolver
Gets the cookie locale resolver.Gets the log resolver bean.Gets the mailer.Gets the memory pool mailing listener.Gets the memory stats job detail.Gets the memory stats trigger.Gets the memory usage.org.springframework.context.MessageSource
Gets the reloadable resource bundle message source.Gets the os memory.static org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
Gets the property placeholder configurer.Gets the resource resolver bean.getResourceResolvers
(JBossResourceResolverBean jbossResourceResolverBean, ResourceResolverBean resourceResolverBean) Gets the resource resolvers.Gets the runtime info accessor bean.Gets the runtime stats collector bean.Gets the runtime stats job detail.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.Gets the stats collection.Gets the stats serializer job detail.Gets the stats serializer trigger.Gets the stdout files.Gets the swap usage.org.springframework.web.servlet.ThemeResolver
Gets the fixed theme resolver.Gets the total avg proc time.Gets the total req.Gets the traffic.org.springframework.web.servlet.ViewResolver
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
-
Field Details
-
logger
private static final org.slf4j.Logger loggerThe Constant logger.
-
-
Constructor Details
-
ProbeConfig
public ProbeConfig()
-
-
Method Details
-
getContainerListenerBean
Gets the container listener bean.- Returns:
- the container listener bean
-
getContainerWrapperBean
Gets the container wrapper bean.- Returns:
- the container wrapper bean
-
getClusterWrapperBean
Gets the cluster wrapper bean.- Returns:
- the cluster wrapper bean
-
getMailer
Gets the mailer.- Returns:
- the mailer
-
getDefaultRes
Gets the default res.- Returns:
- the default res
-
getResourceResolverBean
Gets the resource resolver bean.- Returns:
- the resource resolver bean
-
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
Gets the adapter classes.- Returns:
- the adapter classes
-
getStdoutFiles
Gets the stdout files. Any file added to this list will be displayed.- Returns:
- the stdout files
-
stdout
Version.- Returns:
- the properties factory bean
-
getLogResolverBean
Gets the log resolver bean.- Returns:
- the log resolver bean
-
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
Gets the cluster stats collector bean.- Returns:
- the cluster stats collector bean
-
getRuntimeStatsCollectorBean
Gets the runtime stats collector bean.- Returns:
- the runtime stats collector bean
-
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
Gets the jvm memory info accessor bean.- Returns:
- the jvm memory info accessor bean
-
getRuntimeInfoAccessorBean
Gets the runtime info accessor bean.- Returns:
- the runtime info accessor bean
-
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
Gets the connector series provider.- Returns:
- the connector series provider
-
getClTraffic
Gets the cl traffic.- Returns:
- the cl traffic
-
getClRequest
Gets the cl request.- Returns:
- the cl request
-
getConnector
Gets the connector.- Returns:
- the connector
-
getTraffic
Gets the traffic.- Returns:
- the traffic
-
getConnectorProcTime
Gets the connector proc time.- Returns:
- the connector proc time
-
getMemoryUsage
Gets the memory usage.- Returns:
- the memory usage
-
getOsMemory
Gets the os memory.- Returns:
- the os memory
-
getSwapUsage
Gets the swap usage.- Returns:
- the swap usage
-
getCpuUsage
Gets the cpu usage.- Returns:
- the cpu usage
-
getFdUsage
Gets the fd usage.- Returns:
- the fd usage
-
getAppReq
Gets the app req.- Returns:
- the app req
-
getAppAvgProcTime
Gets the app avg proc time.- Returns:
- the app avg proc time
-
getTotalAvgProcTime
Gets the total avg proc time.- Returns:
- the total avg proc time
-
getTotalReq
Gets the total req.- Returns:
- the total req
-
getDatasourceUsage
Gets the datasource usage.- Returns:
- the datasource usage
-
getAllAppAvgProcTime
Gets the all app avg proc time.- Returns:
- the all app avg proc time
-
getAllAppReq
Gets the all app req.- Returns:
- the all app req
-
getConnectorStatsJobDetail
Gets the connector stats job detail.- Returns:
- the connector stats job detail
-
getClusterStatsJobDetail
Gets the cluster stats job detail.- Returns:
- the cluster stats job detail
-
getMemoryStatsJobDetail
Gets the memory stats job detail.- Returns:
- the memory stats job detail
-
getRuntimeStatsJobDetail
Gets the runtime stats job detail.- Returns:
- the runtime stats job detail
-
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
Gets the connector stats trigger.- Returns:
- the connector stats trigger
-
getClusterStatsTrigger
Gets the cluster stats trigger.- Returns:
- the cluster stats trigger
-
getMemoryStatsTrigger
Gets the memory stats trigger.- Returns:
- the memory stats trigger
-
getRuntimeStatsTrigger
Gets the runtime stats trigger.- Returns:
- the runtime stats trigger
-
getAppStatsTrigger
Gets the app stats trigger.- Returns:
- the app stats trigger
-
getDatasourceStatsTrigger
Gets the datasource stats trigger.- Returns:
- the datasource stats trigger
-
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
-