MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » 关于spring的quratz任务调度有关问题

关于spring的quratz任务调度有关问题(3)

www.MyException.Cn  网友分享于:2013-12-01  浏览:632次

<property name= "targetObject ">
<ref bean= "testQuarz " />
</property>
<property name= "targetMethod ">
<value> sayHello </value>
</property>
</bean>
<bean id= "simpleTrigger " class= "org.springframework.scheduling.quartz.SimpleTriggerBean ">
<property name= "jobDetail " ref= "helloworldTask " />
<property name= "startDelay " value= "1000 " />
<property name= "repeatInterval ">
<value> 1000 </value>
</property>
</bean>
<bean class= "org.springframework.scheduling.quartz.SchedulerFactoryBean ">
<property name= "triggers ">
<list>
<ref bean= "simpleTrigger " />
</list>
</property>
</bean>
</beans>

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有