kr.co.hit.live.batch
Class AbstractBatchJob
java.lang.Object
kr.co.hit.live.context.ContextAwareService
kr.co.hit.live.batch.AbstractBatchJob
- All Implemented Interfaces:
- BatchJob
public abstract class AbstractBatchJob
- extends ContextAwareService
- implements BatchJob
배치 프로그램은 이 클래스를 상속받아 구현한다.
- Author:
- kimhd
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected BatchLogger logger
paramVO
protected ValueObject paramVO
AbstractBatchJob
public AbstractBatchJob()
setLogger
public void setLogger(BatchLogger logger)
- Description copied from interface:
BatchJob
- 배치 프로그램 실행시 로깅관련 기능들을 사용하기 위하여 BatchLogger 객체를 설정하는
Setter Method
- Specified by:
setLogger in interface BatchJob
getLogger
public BatchLogger getLogger()
- Description copied from interface:
BatchJob
- setLogger()를 통하여 설정된 BatchLogger 객체를 반환함.
- Specified by:
getLogger in interface BatchJob
- Returns:
execute
public abstract void execute(ValueObject pVO)
throws Exception
- Description copied from interface:
BatchJob
- 배치 프로그램의 메인 로직을 구현하는 메소드
- Specified by:
execute in interface BatchJob
- Throws:
Exception
Copyright © 2014. All Rights Reserved.