Class GlueTaskScheduler

java.lang.Object
com.poscoict.glueframework.scheduling.task.GlueTaskScheduler
All Implemented Interfaces:
InitializingBean

public class GlueTaskScheduler extends Object implements InitializingBean
Glue Scheduler(Spring Scheduler이용)의 Task 구현 Class이다.
설정 방법은 다음 예를 참고한다.
 Bean Property

 - serviceName : (필수)

 - contextMap : (선택) 

 - logger : (선택)



 예제
 
 사용 예# 1

     <bean id="gluetask" class="com.poscoict.glueframework.scheduling.task.GlueTaskScheduler">
         <property name="serviceName" value="sample01-service"/>
         <property name="dataMap">
             <map>
                 <entry key="deptno" value="10"/>
                 <entry key="find" value="1"/>
             </map>
         </property>
         <property name="logger" ref="dbLogging"/>
     </bean>
     <bean id="dbLogging" class="com.poscoict.glueframework.scheduling.store.GlueTaskSchedulerInfoLogger">
         <property name="dataSource" ref="ds"/>
     </bean>
     <bean id="ds" class="..."/>
 
  • Constructor Details

    • GlueTaskScheduler

      public GlueTaskScheduler()
  • Method Details