Class BeanFactoryStepLocator
java.lang.Object
org.springframework.batch.integration.partition.BeanFactoryStepLocator
- All Implemented Interfaces:
 StepLocator,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware
public class BeanFactoryStepLocator
extends Object
implements StepLocator, org.springframework.beans.factory.BeanFactoryAware
A 
StepLocator implementation that just looks in its enclosing bean factory for
 components of type Step.- Author:
 - Dave Syer, Mahmoud Ben Hassine
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionLook up a bean with the provided name of typeStep.Look in the bean factory for all beans of typeStep.voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)  
- 
Constructor Details
- 
BeanFactoryStepLocator
public BeanFactoryStepLocator() 
 - 
 - 
Method Details
- 
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
 setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
 org.springframework.beans.BeansException
 - 
getStep
Look up a bean with the provided name of typeStep.- Specified by:
 getStepin interfaceStepLocator- See Also:
 
 - 
getStepNames
Look in the bean factory for all beans of typeStep.- Specified by:
 getStepNamesin interfaceStepLocator- Throws:
 IllegalStateException- if theBeanFactoryis not listable- See Also:
 
 
 -