EMMA Coverage Report (generated Fri Jan 30 13:20:29 EST 2009)
[all classes][org.springframework.batch.core.repository.support]

COVERAGE SUMMARY FOR SOURCE FILE [MapJobRepositoryFactoryBean.java]

nameclass, %method, %block, %line, %
MapJobRepositoryFactoryBean.java100% (1/1)100% (4/4)100% (15/15)100% (4/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class MapJobRepositoryFactoryBean100% (1/1)100% (4/4)100% (15/15)100% (4/4)
MapJobRepositoryFactoryBean (): void 100% (1/1)100% (3/3)100% (1/1)
createJobExecutionDao (): JobExecutionDao 100% (1/1)100% (4/4)100% (1/1)
createJobInstanceDao (): JobInstanceDao 100% (1/1)100% (4/4)100% (1/1)
createStepExecutionDao (): StepExecutionDao 100% (1/1)100% (4/4)100% (1/1)

1package org.springframework.batch.core.repository.support;
2 
3import org.springframework.batch.core.repository.dao.JobExecutionDao;
4import org.springframework.batch.core.repository.dao.JobInstanceDao;
5import org.springframework.batch.core.repository.dao.MapJobExecutionDao;
6import org.springframework.batch.core.repository.dao.MapJobInstanceDao;
7import org.springframework.batch.core.repository.dao.MapStepExecutionDao;
8import org.springframework.batch.core.repository.dao.StepExecutionDao;
9import org.springframework.beans.factory.FactoryBean;
10 
11/**
12 * A {@link FactoryBean} that automates the creation of a
13 * {@link SimpleJobRepository} using non-persistent in-memory DAO
14 * implementations.
15 * 
16 * @author Robert Kasanicky
17 */
18public class MapJobRepositoryFactoryBean extends AbstractJobRepositoryFactoryBean {
19 
20        protected JobExecutionDao createJobExecutionDao() throws Exception {
21                return new MapJobExecutionDao();
22        }
23 
24        protected JobInstanceDao createJobInstanceDao() throws Exception {
25                return new MapJobInstanceDao();
26        }
27 
28        protected StepExecutionDao createStepExecutionDao() throws Exception {
29                return new MapStepExecutionDao();
30        }
31 
32}

[all classes][org.springframework.batch.core.repository.support]
EMMA 2.0.5312 (C) Vladimir Roubtsov