public class DBIFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<IDBI>, org.springframework.beans.factory.InitializingBean
| Constructor and Description | 
|---|
| DBIFactoryBean() | 
| DBIFactoryBean(DataSource dataSource) | 
| DBIFactoryBean(DataSource dataSource,
              StatementLocator statementLocator) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet()Verifies that a dataSource has been set | 
| IDBI | getObject()See org.springframework.beans.factory.FactoryBean#getObject | 
| Class<IDBI> | getObjectType()See org.springframework.beans.factory.FactoryBean#getObjectType | 
| boolean | isSingleton()See org.springframework.beans.factory.FactoryBean#isSingleton | 
| void | setDataSource(DataSource dataSource)The datasource, which should be managed by spring's transaction system, from which
 the IDBI will obtain connections | 
| void | setGlobalDefines(Map<String,Object> defines) | 
| void | setStatementLocator(StatementLocator statementLocator) | 
public DBIFactoryBean()
public DBIFactoryBean(DataSource dataSource)
public DBIFactoryBean(DataSource dataSource, StatementLocator statementLocator)
public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic IDBI getObject() throws Exception
public Class<IDBI> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<IDBI>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<IDBI>public void setDataSource(DataSource dataSource)
public void setStatementLocator(StatementLocator statementLocator)
Copyright © 2018. All rights reserved.