public class DBOperatorFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
DBOperatorFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.springframework.core.io.Resource |
getConfigLocation() |
DataSource |
getDataSource() |
Dialect |
getDialect() |
DbOperatorFactory |
getFactory() |
DbOperatorFactoryBuilder |
getFactoryBuilder() |
org.springframework.core.io.Resource[] |
getFunctionLocations() |
org.springframework.jdbc.core.JdbcTemplate |
getJdbcTemplate() |
Object |
getObject() |
Class |
getObjectType() |
org.springframework.core.io.Resource[] |
getRelationLocations() |
boolean |
isSingleton() |
void |
setConfigLocation(org.springframework.core.io.Resource configLocation) |
void |
setDataSource(DataSource dataSource) |
void |
setDialect(Dialect dialect) |
void |
setFactory(DbOperatorFactory factory) |
void |
setFactoryBuilder(DbOperatorFactoryBuilder factoryBuilder) |
void |
setFunctionLocations(org.springframework.core.io.Resource[] functionLocations) |
void |
setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
void |
setRelationLocations(org.springframework.core.io.Resource[] relationLocations) |
public org.springframework.core.io.Resource getConfigLocation()
public void setConfigLocation(org.springframework.core.io.Resource configLocation)
public org.springframework.core.io.Resource[] getRelationLocations()
public void setRelationLocations(org.springframework.core.io.Resource[] relationLocations)
public org.springframework.core.io.Resource[] getFunctionLocations()
public void setFunctionLocations(org.springframework.core.io.Resource[] functionLocations)
public DbOperatorFactory getFactory()
public void setFactory(DbOperatorFactory factory)
public DataSource getDataSource()
public void setDataSource(DataSource dataSource)
public DbOperatorFactoryBuilder getFactoryBuilder()
public void setFactoryBuilder(DbOperatorFactoryBuilder factoryBuilder)
public org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate()
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public Dialect getDialect()
public void setDialect(Dialect dialect)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
Copyright © 2006–2018 TinyGroup. All rights reserved.