public class StepLocatorStepFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Step>
Step instances given a StepLocator.
Most implementations of Job implement StepLocator, so that can be a
good starting point.| Modifier and Type | Field and Description |
|---|---|
StepLocator |
stepLocator |
String |
stepName |
| Constructor and Description |
|---|
StepLocatorStepFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
Step |
getObject() |
Class<? extends Step> |
getObjectType()
Tell clients that we are a factory for
Step instances. |
boolean |
isSingleton()
Always return true as optimization for bean factory.
|
void |
setStepLocator(StepLocator stepLocator) |
void |
setStepName(String stepName) |
public StepLocator stepLocator
public String stepName
public void setStepLocator(StepLocator stepLocator)
stepLocator - public void setStepName(String stepName)
stepName - public Class<? extends Step> getObjectType()
Step instances.getObjectType in interface org.springframework.beans.factory.FactoryBean<Step>FactoryBean.getObjectType()public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<Step>FactoryBean.isSingleton()Copyright © 2013. All rights reserved.