|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.batch.core.configuration.xml.SimpleFlowFactoryBean
public class SimpleFlowFactoryBean
Convenience factory for SimpleFlow instances for use in XML namespace. It replaces the states in the input with proxies that have a unique name formed from the flow name and the original state name (unless the name is already in that form, in which case it is not modified).
Constructor Summary | |
---|---|
SimpleFlowFactoryBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Check mandatory properties (name). |
Object |
getObject()
|
Class<?> |
getObjectType()
|
boolean |
isSingleton()
|
void |
setName(String name)
The name of the flow that is created by this factory. |
void |
setStateTransitions(List<StateTransition> stateTransitions)
The raw state transitions for the flow. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleFlowFactoryBean()
Method Detail |
---|
public void setName(String name)
name
- the value of the namepublic void setStateTransitions(List<StateTransition> stateTransitions)
name
- the value of the namepublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public Object getObject() throws Exception
getObject
in interface FactoryBean
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean
public boolean isSingleton()
isSingleton
in interface FactoryBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |