Class StatisticsProvider
java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.statistics.StatisticsProvider
- All Implemented Interfaces:
Interceptor,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class StatisticsProvider
extends AbstractInterceptor
implements org.springframework.context.ApplicationContextAware
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.predic8.membrane.core.interceptor.Interceptor
Interceptor.Flow -
Field Summary
Fields inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
name, router -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetOrderedStatistics(URIFactory uriFactory, Exchange exc) handleRequest(Exchange exc) voidinit()Called after parsing is complete and this has been added to the object tree (whose root is Router).voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetDataSource(DataSource dataSource) voidsetDataSourceBeanId(String dataSourceBeanId) Deprecated.Methods inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
getDisplayName, getFlow, getHelpId, getLongDescription, getMessage, getRouter, getRule, getShortDescription, handleAbort, handleResponse, init, setDisplayName, setFlow
-
Constructor Details
-
StatisticsProvider
public StatisticsProvider()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
handleRequest
- Specified by:
handleRequestin interfaceInterceptor- Overrides:
handleRequestin classAbstractInterceptor- Throws:
Exception
-
getOrderedStatistics
- Throws:
Exception
-
getDataSource
-
setDataSource
-
getDataSourceBeanId
-
setDataSourceBeanId
Deprecated.usesetDataSource(DataSource)instead: UsingsetDataSourceBeanId(String)from Spring works, but does not create a Spring bean dependency. -
init
Description copied from class:AbstractInterceptorCalled after parsing is complete and this has been added to the object tree (whose root is Router).- Overrides:
initin classAbstractInterceptor- Throws:
Exception
-
setDataSource(DataSource)instead: UsingsetDataSourceBeanId(String)from Spring works, but does not create a Spring bean dependency.