파일작업, 스케쥴 설정 관련 수정
parent
da2500599b
commit
4ba4cb69ab
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project default="lntris">
|
||||
<property name="resources" value="src/main/resources" />
|
||||
<property name="deploy" value="deploy" />
|
||||
|
||||
<target name="lntris">
|
||||
<copy todir="${deploy}/intf-conf">
|
||||
<fileset dir="${resources}/intf-conf" />
|
||||
</copy>
|
||||
<copy todir="${deploy}/spring">
|
||||
<fileset dir="${resources}/spring" />
|
||||
</copy>
|
||||
|
||||
<delete file="xit-lntris-interface.zip" />
|
||||
<zip destfile="xit-lntris-interface.zip" basedir="${deploy}" compress="true" />
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,116 @@
|
||||
<?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:context="http://www.springframework.org/schema/context"
|
||||
xmlns:beans="http://www.springframework.org/schema/beans"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
|
||||
|
||||
<!-- 과태료대장 전일자변동 수신 -->
|
||||
<bean id="a02Receiver" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
|
||||
<property name="targetObject" ref="lntrisAService"/>
|
||||
<property name="targetMethod" value="readA02s"/>
|
||||
</bean>
|
||||
<bean id="a02ReceiverTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
|
||||
<property name="jobDetail" ref="a02Receiver" />
|
||||
<property name="cronExpression" value="0 0/1 * * * ?" /> <!-- 1분마다 -->
|
||||
<!-- <property name="cronExpression" value="0 30 0 * * ?" /> 매일 00:30 -->
|
||||
</bean>
|
||||
|
||||
<!-- 부과/수납정보 -->
|
||||
<bean id="d02Sender" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
|
||||
<property name="targetObject" ref="lntrisDService"/>
|
||||
<property name="targetMethod" value="registerD02s"/>
|
||||
</bean>
|
||||
<bean id="d02SenderTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
|
||||
<property name="jobDetail" ref="d02Sender" />
|
||||
<property name="cronExpression" value="0 0/1 * * * ?" /> <!-- 1분마다 -->
|
||||
<!-- <property name="cronExpression" value="0 30 0 * * ?" /> 매일 00:30 -->
|
||||
</bean>
|
||||
|
||||
<!-- 부과체납 전일자변동 수신 -->
|
||||
<bean id="d07aReceiver" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
|
||||
<property name="targetObject" ref="lntrisDService"/>
|
||||
<property name="targetMethod" value="readD07as"/>
|
||||
</bean>
|
||||
<bean id="d07aReceiverTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
|
||||
<property name="jobDetail" ref="d07aReceiver" />
|
||||
<property name="cronExpression" value="0 0/1 * * * ?" /> <!-- 1분마다 -->
|
||||
<!-- <property name="cronExpression" value="0 30 0 * * ?" /> 매일 00:30 -->
|
||||
</bean>
|
||||
|
||||
<!-- 수납 전일자변동 수신 -->
|
||||
<bean id="d07bReceiver" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
|
||||
<property name="targetObject" ref="lntrisDService"/>
|
||||
<property name="targetMethod" value="readD07bs"/>
|
||||
</bean>
|
||||
<bean id="d07bReceiverTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
|
||||
<property name="jobDetail" ref="d07bReceiver" />
|
||||
<property name="cronExpression" value="0 0/1 * * * ?" /> <!-- 1분마다 -->
|
||||
<!-- <property name="cronExpression" value="0 30 0 * * ?" /> 매일 00:30 -->
|
||||
</bean>
|
||||
|
||||
<!-- 감액 전일자변동 수신 -->
|
||||
<bean id="d07cReceiver" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
|
||||
<property name="targetObject" ref="lntrisDService"/>
|
||||
<property name="targetMethod" value="readD07cs"/>
|
||||
</bean>
|
||||
<bean id="d07cReceiverTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
|
||||
<property name="jobDetail" ref="d07cReceiver" />
|
||||
<property name="cronExpression" value="0 0/1 * * * ?" /> <!-- 1분마다 -->
|
||||
<!-- <property name="cronExpression" value="0 30 0 * * ?" /> 매일 00:30 -->
|
||||
</bean>
|
||||
|
||||
<!-- 과오납 전일자변동 수신 -->
|
||||
<bean id="d07dReceiver" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
|
||||
<property name="targetObject" ref="lntrisDService"/>
|
||||
<property name="targetMethod" value="readD07ds"/>
|
||||
</bean>
|
||||
<bean id="d07dReceiverTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
|
||||
<property name="jobDetail" ref="d07dReceiver" />
|
||||
<property name="cronExpression" value="0 0/1 * * * ?" /> <!-- 1분마다 -->
|
||||
<!-- <property name="cronExpression" value="0 30 0 * * ?" /> 매일 00:30 -->
|
||||
</bean>
|
||||
|
||||
<!-- 결손 전일자변동 수신 -->
|
||||
<bean id="d07eReceiver" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
|
||||
<property name="targetObject" ref="lntrisDService"/>
|
||||
<property name="targetMethod" value="readD07es"/>
|
||||
</bean>
|
||||
<bean id="d07eReceiverTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
|
||||
<property name="jobDetail" ref="d07eReceiver" />
|
||||
<property name="cronExpression" value="0 0/1 * * * ?" /> <!-- 1분마다 -->
|
||||
<!-- <property name="cronExpression" value="0 30 0 * * ?" /> 매일 00:30 -->
|
||||
</bean>
|
||||
|
||||
<bean id="schedulerFactory" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
|
||||
<property name="jobDetails">
|
||||
<list>
|
||||
<ref bean="a02Receiver" />
|
||||
|
||||
<ref bean="d02Sender" />
|
||||
<ref bean="d07aReceiver" />
|
||||
<ref bean="d07bReceiver" />
|
||||
<ref bean="d07cReceiver" />
|
||||
<ref bean="d07dReceiver" />
|
||||
<ref bean="d07eReceiver" />
|
||||
</list>
|
||||
</property>
|
||||
|
||||
<property name="triggers">
|
||||
<list>
|
||||
<ref bean="a02ReceiverTrigger" />
|
||||
|
||||
<ref bean="d02SenderTrigger" />
|
||||
<ref bean="d07aReceiverTrigger" />
|
||||
<ref bean="d07bReceiverTrigger" />
|
||||
<ref bean="d07cReceiverTrigger" />
|
||||
<ref bean="d07dReceiverTrigger" />
|
||||
<ref bean="d07eReceiverTrigger" />
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
Loading…
Reference in New Issue