|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.poscoict.glueframework.batch.operator.GlueJobOperator
public class GlueJobOperator
Job Restarter(JobOperator).
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 Summary | |
---|---|
GlueJobOperator()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlueJobOperator()
Method Detail |
---|
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
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |