public class DBIFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
DBIFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Verifies that a dataSource has been set
|
Object |
getObject()
See org.springframework.beans.factory.FactoryBean#getObject
|
Class<?> |
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 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
public void setDataSource(DataSource dataSource)
public void setStatementLocator(StatementLocator statementLocator)
Copyright © 2023. All rights reserved.