public class GlueJobOperator extends Object implements org.springframework.beans.factory.InitializingBean
Bean Property - dataSource : (Çʼö) DataSource ÂüÁ¶ bean id - jobOperator : (Çʼö) JobOperator ÂüÁ¶ bean id - restartSql : (Çʼö) default : INSERT INTO BATCH_JOB_OPERATOR_INFO (JOB_EXECUTION_ID, REF_JOB_EXECUTION_ID, MESSAGE) VALUES (?,?,?) ¿¹Á¦»ç¿ë ¿¹# 1 Âü°í : schema-oracle-batch-plut.sql ( glue-batch.jar!/db_script ) Âü°í : applicationContext.xml
Constructor and Description |
---|
GlueJobOperator() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
Long |
restart(long executionId,
String message)
JobOperator ¸¦ ÅëÇØ ½ÇÆÐÇϰųª Á¤ÁöµÈ JobExceutionÀ» Àç½ÃÀÛÇÏ°í 'BATCH_JOB_OPERATOR_INFO' ¿¡ ±â·ÏÇÑ´Ù.
|
void |
setDataSource(DataSource dataSource)
setter method for DI.
|
void |
setJobOperator(org.springframework.batch.core.launch.JobOperator jobOperator)
setter method for DI.
|
void |
setRestartSql(String restartSql)
setter method for DI.
|
public void setRestartSql(String restartSql)
restartSql
- public void setJobOperator(org.springframework.batch.core.launch.JobOperator jobOperator)
jobOperator
- public void setDataSource(DataSource dataSource)
dataSource
- public Long restart(long executionId, String message) throws Exception
executionId
- - Àç½ÃÀÛÇÏ°íÀÚ ÇÏ´Â JoB Execution IDmessage
- Exception
Copyright © 2013–2020 POSCO ICT. All rights reserved.