org.springframework.batch.admin.service
Class JdbcSearchableJobInstanceDao
java.lang.Object
org.springframework.batch.core.repository.dao.AbstractJdbcBatchMetadataDao
org.springframework.batch.core.repository.dao.JdbcJobInstanceDao
org.springframework.batch.admin.service.JdbcSearchableJobInstanceDao
- All Implemented Interfaces:
- SearchableJobInstanceDao, JobInstanceDao, InitializingBean
public class JdbcSearchableJobInstanceDao
- extends JdbcJobInstanceDao
- implements SearchableJobInstanceDao
- Author:
- Dave Syer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcSearchableJobInstanceDao
public JdbcSearchableJobInstanceDao()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface InitializingBean- Overrides:
afterPropertiesSet in class JdbcJobInstanceDao
- Throws:
Exception- See Also:
JdbcJobExecutionDao.afterPropertiesSet()
countJobInstances
public int countJobInstances(String name)
- Specified by:
countJobInstances in interface SearchableJobInstanceDao
- Parameters:
name - the name of the job instances
- Returns:
- the number of instances
- See Also:
(String)
Copyright © 2011. All Rights Reserved.