public class SpringDataSourceFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>
FactoryBean for wrapping datasources with monitoring proxy.AbstractFactoryBean,
JdbcWrapper| Constructor and Description |
|---|
SpringDataSourceFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected DataSource |
createInstance() |
Class<?> |
getObjectType() |
void |
setTargetName(String targetName)
Name of target bean to instrument.
|
public void setTargetName(String targetName)
targetName - name of bean, not null.protected DataSource createInstance()
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<DataSource>getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>Copyright © 2008–2024 Emeric Vernat. All rights reserved.