org.unitils.spring.batch
Class BatchModule

java.lang.Object
  extended by org.unitils.spring.batch.BatchModule
All Implemented Interfaces:
org.unitils.core.Module

public class BatchModule
extends Object
implements org.unitils.core.Module

The batch module will create the spring batch context.

Since:
1.0.0
Author:
Jef Verelst, Jeroen Horemans, Thomas De Rycke, Willemijn Wouters

Constructor Summary
BatchModule()
           
 
Method Summary
 void afterInit()
           
protected  BatchTest createBatchJob(Field field, BatchTestEnvironment annotation, Object testObject)
           
protected  org.springframework.context.ApplicationContext figureOutContext(String contextFile, Object testObject)
           
protected  void fillupAnnotatedObjects(Object testObject)
           
protected  void fillupTestedObject(Object testObject, Method testMethod)
           
 org.unitils.core.TestListener getTestListener()
           
 void init(Properties configuration)
           
protected  void initializeBatchContext(Object testObject, Method testMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchModule

public BatchModule()
Method Detail

init

public void init(Properties configuration)
Specified by:
init in interface org.unitils.core.Module

initializeBatchContext

protected void initializeBatchContext(Object testObject,
                                      Method testMethod)

fillupAnnotatedObjects

protected void fillupAnnotatedObjects(Object testObject)

fillupTestedObject

protected void fillupTestedObject(Object testObject,
                                  Method testMethod)

createBatchJob

protected BatchTest createBatchJob(Field field,
                                   BatchTestEnvironment annotation,
                                   Object testObject)

figureOutContext

protected org.springframework.context.ApplicationContext figureOutContext(String contextFile,
                                                                          Object testObject)

afterInit

public void afterInit()
Specified by:
afterInit in interface org.unitils.core.Module

getTestListener

public org.unitils.core.TestListener getTestListener()
Specified by:
getTestListener in interface org.unitils.core.Module


Copyright © 2014. All Rights Reserved.