001// Copyright(c) 2015 POSCO ICT 002// Change history 003// 2015-07-10 / 1.1.0 / 004package com.posco.glue.cm; 005 006import com.posco.mes.reuse.common.logging.PosLogWriterIF; 007import com.posco.mes.reuse.common.logging.PosLogger; 008import com.poscoict.app.job.GlueSimpleJob; 009 010/** 011 * Main Ŭ·¡½º(POSCO GSI ź¼Ò°Ç¥Áظ𵨿¡ ÇÑÁ¤). mle ¶óÀ̺귯¸®¿ÍÀÇ ÀÇÁ¸ °ü°è°¡ ÀÖÀ½. 012 * 013 * <pre> 014 * java [-option] com.posco.glue.cm.PoscoDefaultSchedulerJob [args..] 015 * ÇüÅ·ΠPoscoDefaultSchedulerJob Ŭ·¡½º¸¦ ½ÇÇàÇÑ´Ù. 016 * 017 * [args..] ºÎºÐÀÇ Ã¹¹ø°´Â history id, µÎ¹ø°´Â ½ÇÇàÀ¯Çü, ¼¼¹ø°ºÎÅÍ´Â »ç¿ëÀÚ data·Î ±¸¼ºÇÑ´Ù. 018 * <xmp> 019 * java [-option] com.posco.glue.cm.PoscoDefaultSchedulerJob -1 ServiceName=job001-service@S userKey=userData@S 020 * java [-option] com.posco.glue.cm.PoscoDefaultSchedulerJob -1 className=sample.job.SamplePgm@S userKey=userData@S 021 * </xmp> 022 * </pre> 023 */ 024public class PoscoDefaultSchedulerJob extends GlueSimpleJob 025{ 026 public static void main( String args[] ) 027 { 028 PosLogger.developerLog( PosLogWriterIF.INFO, "PosLogger.developerLog(PosLogWriterIF.INFO, message, classRef)", PoscoDefaultSchedulerJob.class ); 029 PosLogger.developerLog( PosLogWriterIF.DEBUG, "PosLogger.developerLog(PosLogWriterIF.DEBUG, message, classRef)", PoscoDefaultSchedulerJob.class ); 030 PosLogger.developerLog( PosLogWriterIF.WARN, "PosLogger.developerLog(PosLogWriterIF.WARN, message, classRef)", PoscoDefaultSchedulerJob.class ); 031 PosLogger.developerLog( PosLogWriterIF.FATAL, "PosLogger.developerLog(PosLogWriterIF.FATAL, message, classRef)", PoscoDefaultSchedulerJob.class ); 032 PosLogger.developerLog( PosLogWriterIF.ERROR, "PosLogger.developerLog(PosLogWriterIF.ERROR, message, classRef)", PoscoDefaultSchedulerJob.class ); 033 034 GlueSimpleJob.main( args ); 035 } 036}