2011년 8월 24일 수요일

함수명파라미터, 인터셉터, FLEX 설정 셋팅-1(context-scheduling.xml)


<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:config="http://www.anyframejava.org/schema/service"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.anyframejava.org/schema/service http://www.anyframejava.org/schema/service/anyframe-core-service-2.0.xsd">

<!-- cron factory 설정 --><!--
<bean id="secfw.schedulerFactoryBean" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref bean="secfw.singleIF.mailCronTrigger" />
<ref bean="secfw.singleIF.approvalCronTrigger" />
</list>
</property>
    </bean>

--><!-- [싱글IF] 메일 배치 --><!--
<bean id="secfw.singleIF.mailCronTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
        <property name="jobDetail" ref="secfw.singleIF.mailJobDetail" />      
        <property name="cronExpression" value="0 8,11,14,17,23,27,31,34,47,47,52,59 * * * ?" />
    </bean>

    --><!--<bean id="secfw.singleIF.mailJobDetail" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="secfw.singleIF.mailServiceImpl" />
<property name="targetMethod" value="sendMail" />
<property name="concurrent" value="false" />
</bean>

--><!--<bean id="secfw.singleIF.mailServiceImpl" class="com.sds.secframework.singleIF.service.impl.MailServiceImpl">
<property name="commonDAO" ref="secfw.commonDAO" />
<property name="propertyService" ref="secfw.propertyService" />
</bean>
--><!-- //[싱글IF] 메일 배치 -->

<!-- [싱글IF] 결재 배치 -->
<!--<bean id="secfw.singleIF.approvalCronTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
        <property name="jobDetail" ref="secfw.approvalJobDetail" />      
        <property name="cronExpression" value="0 0 5 * * ?" />
    </bean>--><!--
 
    <bean id="secfw.approvalJobDetail" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="secfw.singleIF.approvalServiceImpl" />
<property name="targetMethod" value="sendApproval" />
<property name="concurrent" value="false" />
</bean>

<bean id="secfw.singleIF.approvalServiceImpl" class="com.sds.secframework.singleIF.service.impl.ApprovalServiceImpl">
<property name="commonDAO" ref="secfw.commonDAO" />
<property name="propertyService" ref="secfw.propertyService" />
</bean>
--><!-- //[싱글IF] 결재 배치 -->

</beans>

댓글 없음:

댓글 쓰기