RESOLVED - issue BATCH-155: InputSources and FieldsetInputSources are not being initialized ( call the open() method)

http://opensource.atlassian.com/projects/spring/browse/BATCH-155
This commit is contained in:
dsyer
2007-10-05 15:17:46 +00:00
parent a76cd786fc
commit e613551cd5

View File

@@ -17,20 +17,20 @@
package org.springframework.batch.item;
/**
* Common interface for classes that require initialization before they can be
* Common interface for classes that require initialisation before they can be
* used and need to free resources after they are no longer used.
*/
public interface ResourceLifecycle {
/**
* This method will be invoked at the start of processing to allow
* initialization of resources.
* This method should be invoked by clients at the start of processing to
* allow initialisation of resources.
*
*/
public void open();
/**
* This method will be called invoked after the completion of each step and
* the implementing class should close all managed resources.
* This method should be invoked by clients after the completion of each
* step and the implementing class should close all managed resources.
*
*/
public void close();