com.poscoict.glueframework.batch.quartz
Class GlueQuartzJobLauncher
java.lang.Object
org.springframework.scheduling.quartz.QuartzJobBean
com.poscoict.glueframework.batch.quartz.GlueQuartzJobLauncher
- All Implemented Interfaces:
- org.quartz.Job
public class GlueQuartzJobLauncher
- extends org.springframework.scheduling.quartz.QuartzJobBean
QuartzJobBean 확장(Job Launcher).
key(jobDataAsMap)
- JobName : (필수) org.springframework.batch.core.Job 에 해당하는 bean id
- JobLauncherName : (필수) org.springframework.batch.core.launch.JobLauncher 에 해당하는 bean id
default : 'jobLauncher'
- 그외 key 추가 가능
예제
사용 예# 1
사용 예# 2
사용 예# 3
참고 : quartz-scheduler.xml
...
...
...
참고 : applicationContext.xml
Field Summary |
protected org.slf4j.Logger |
logger
|
Method Summary |
protected void |
executeInternal(org.quartz.JobExecutionContext context)
|
Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean |
execute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.slf4j.Logger logger
GlueQuartzJobLauncher
public GlueQuartzJobLauncher()
executeInternal
protected final void executeInternal(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
- Specified by:
executeInternal
in class org.springframework.scheduling.quartz.QuartzJobBean
- Throws:
org.quartz.JobExecutionException
Copyright © 2013–2017 POSCO ICT. All rights reserved.