|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.configuration.support.ApplicationContextJobFactory
public class ApplicationContextJobFactory
A JobFactory that creates its own ApplicationContext from a
path supplied, and pulls a bean out when asked to create a Job.
| Constructor Summary | |
|---|---|
ApplicationContextJobFactory(ApplicationContextFactory applicationContextFactory,
java.lang.String jobName)
|
|
| Method Summary | |
|---|---|
Job |
createJob()
Create an ApplicationContext from the factory provided and pull
out a bean with the name given during initialization. |
java.lang.String |
getJobName()
Return the bean name of the job in the application context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationContextJobFactory(ApplicationContextFactory applicationContextFactory,
java.lang.String jobName)
jobName - the id of the Job in the application context to be
created| Method Detail |
|---|
public Job createJob()
ApplicationContext from the factory provided and pull
out a bean with the name given during initialization.
createJob in interface JobFactoryJobFactory.createJob()public java.lang.String getJobName()
getJobName in interface JobFactoryJobFactory.getJobName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||