com.poscoict.glueframework.scheduling.store
Class GlueScheduledTaskDBLoggerImpl

java.lang.Object
  extended by com.poscoict.glueframework.scheduling.store.GlueScheduledTaskDBLoggerImpl
All Implemented Interfaces:
GlueScheduledTaskLogger, org.springframework.beans.factory.InitializingBean

public class GlueScheduledTaskDBLoggerImpl
extends Object
implements GlueScheduledTaskLogger, org.springframework.beans.factory.InitializingBean

GlueScheduledTaskLogger ±¸Çöü. Glue Scheduler(Spring SchedulerÀÌ¿ë)ÀÇ Task ½ÇÇà History¸¦ DB¿¡ µî·ÏÇÑ´Ù.
¼³Á¤ ¹æ¹ýÀº ´ÙÀ½ ¿¹¸¦ Âü°íÇÑ´Ù.

 Bean Property
 
 - dataSource : (Çʼö) oracle ¿¬°áÁ¤º¸.
 
 
 
 ¿¹Á¦
 »ç¿ë ¿¹# 1
 
     <bean id="dbLogging" class="com.poscoict.glueframework.scheduling.store.GlueScheduledTaskDBLoggerImpl">
         <property name="dataSource" ref="ds"/>
     </bean>
     <bean id="ds" class="..."/>
 


Nested Class Summary
static class GlueScheduledTaskDBLoggerImpl.TaskLoggingQuery
          DBMS ¿¡ µû¸¥ SQL¹®
 
Constructor Summary
GlueScheduledTaskDBLoggerImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void endTask(Object ref)
           
 void endTask(Object ref, Throwable t)
           
 void setDataSource(DataSource dataSource)
          setter method for DI.
 Object startTask(Object serviceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueScheduledTaskDBLoggerImpl

public GlueScheduledTaskDBLoggerImpl()
Method Detail

setDataSource

public void setDataSource(DataSource dataSource)
setter method for DI.

Parameters:
dataSource -

startTask

public Object startTask(Object serviceName)
Specified by:
startTask in interface GlueScheduledTaskLogger

endTask

public void endTask(Object ref)
Specified by:
endTask in interface GlueScheduledTaskLogger

endTask

public void endTask(Object ref,
                    Throwable t)
Specified by:
endTask in interface GlueScheduledTaskLogger

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2013–2015 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.