net.sf.spring.batch.impl
Class ClassBasedVersionProvider

java.lang.Object
  extended bynet.sf.spring.batch.impl.ClassBasedVersionProvider
All Implemented Interfaces:
VersionProvider

public class ClassBasedVersionProvider
extends Object
implements VersionProvider


Field Summary
protected  String className
           
 
Constructor Summary
ClassBasedVersionProvider()
           
 
Method Summary
 String findVersion()
          Called by launcher to find the current batch version.
 void setClassName(String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

protected String className
Constructor Detail

ClassBasedVersionProvider

public ClassBasedVersionProvider()
Method Detail

findVersion

public String findVersion()
Description copied from interface: VersionProvider
Called by launcher to find the current batch version.

Specified by:
findVersion in interface VersionProvider
Returns:
the batch version.

setClassName

public void setClassName(String className)
Parameters:
className - the className to set


Copyright © 2009. All Rights Reserved.