public class TaskExecutionDaoFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<TaskExecutionDao>
FactoryBean implementation that creates the appropriate
TaskExecutionDao based on the provided information.| Constructor and Description |
|---|
TaskExecutionDaoFactoryBean()
Default constructor will result in a Map based TaskExecutionDao.
|
TaskExecutionDaoFactoryBean(DataSource dataSource)
DataSource to be used. |
TaskExecutionDaoFactoryBean(DataSource dataSource,
String tablePrefix)
DataSource to be used. |
| Modifier and Type | Method and Description |
|---|---|
TaskExecutionDao |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
public TaskExecutionDaoFactoryBean()
public TaskExecutionDaoFactoryBean(DataSource dataSource, String tablePrefix)
DataSource to be used.dataSource - DataSource to be used.tablePrefix - the table prefix to use for this dao.public TaskExecutionDaoFactoryBean(DataSource dataSource)
DataSource to be used.dataSource - DataSource to be used.public TaskExecutionDao getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<TaskExecutionDao>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<TaskExecutionDao>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<TaskExecutionDao>Copyright © 2019 Pivotal Software, Inc.. All rights reserved.