public class TaskBatchExecutionListenerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<TaskBatchExecutionListener>
FactoryBean for a TaskBatchExecutionListener. Provides a jdbc based
listener if there is a DataSource available. Otherwise, builds a listener that
uses the map based implementation.| Constructor and Description |
|---|
TaskBatchExecutionListenerFactoryBean(DataSource dataSource,
TaskExplorer taskExplorer) |
| Modifier and Type | Method and Description |
|---|---|
TaskBatchExecutionListener |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
public TaskBatchExecutionListenerFactoryBean(DataSource dataSource, TaskExplorer taskExplorer)
public TaskBatchExecutionListener getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<TaskBatchExecutionListener>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<TaskBatchExecutionListener>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<TaskBatchExecutionListener>Copyright © 2016 Pivotal Software, Inc.. All rights reserved.