public class StatisticsProvider extends AbstractInterceptor implements org.springframework.context.ApplicationContextAware
Interceptor.Flowid, name, router| Constructor and Description |
|---|
StatisticsProvider() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource() |
String |
getDataSourceBeanId() |
static String |
getOrderedStatistics(URIFactory uriFactory,
Exchange exc) |
Outcome |
handleRequest(Exchange exc) |
void |
init()
Called after parsing is complete and this has been added to the object tree (whose root is Router).
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setDataSource(DataSource dataSource) |
void |
setDataSourceBeanId(String dataSourceBeanId)
Deprecated.
use
setDataSource(DataSource) instead: Using
setDataSourceBeanId(String) from Spring works,
but does not create a Spring bean dependency. |
getDisplayName, getFlow, getHelpId, getId, getLongDescription, getRouter, getRule, getShortDescription, handleAbort, handleResponse, init, setDisplayName, setFlow, setIdpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic static String getOrderedStatistics(URIFactory uriFactory, Exchange exc) throws Exception
Exceptionpublic DataSource getDataSource()
public void setDataSource(DataSource dataSource)
public String getDataSourceBeanId()
@Deprecated public void setDataSourceBeanId(String dataSourceBeanId)
setDataSource(DataSource) instead: Using
setDataSourceBeanId(String) from Spring works,
but does not create a Spring bean dependency.public void init()
throws Exception
AbstractInterceptorinit in class AbstractInterceptorExceptionCopyright © 2022. All Rights Reserved.