Dust off JMX demo

This commit is contained in:
dsyer
2008-07-05 07:32:44 +00:00
parent 086fded0cf
commit 3d78c0bcb5
20 changed files with 120 additions and 84 deletions

View File

@@ -58,7 +58,7 @@ public abstract class AbstractStep implements Step, InitializingBean, BeanNameAw
private int startLimit = Integer.MAX_VALUE;
private boolean allowStartIfComplete;
private boolean allowStartIfComplete = false;
private CompositeStepExecutionListener listener = new CompositeStepExecutionListener();
@@ -122,9 +122,10 @@ public abstract class AbstractStep implements Step, InitializingBean, BeanNameAw
}
/**
* Public setter for the shouldAllowStartIfComplete.
* Public setter for flag that determines whether the step should start
* again if it is already complete. Defaults to false.
*
* @param allowStartIfComplete the shouldAllowStartIfComplete to set
* @param allowStartIfComplete the value of the flag to set
*/
public void setAllowStartIfComplete(boolean allowStartIfComplete) {
this.allowStartIfComplete = allowStartIfComplete;