Class ReferenceJobFactory
java.lang.Object
org.springframework.batch.core.configuration.support.ReferenceJobFactory
- All Implemented Interfaces:
JobFactory
- Author:
- Dave Syer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal JobJust return the instance passed in on initialization.Just return the name of instance passed in on initialization.
-
Constructor Details
-
ReferenceJobFactory
- Parameters:
job- theJobto return fromcreateJob().
-
-
Method Details
-
createJob
Just return the instance passed in on initialization.- Specified by:
createJobin interfaceJobFactory- See Also:
-
getJobName
Just return the name of instance passed in on initialization.- Specified by:
getJobNamein interfaceJobFactory- See Also:
-