Spring methodInvokingTimer, not displaying property
I imported the package org.spring.schedule.timer2.5.6A
. using eclipse and created the following beans. My problem is that I cannot see / cannot set property values ββfor the bean methodInvokingTASK
(the last one) where I should.
property - targetObject
property - targetMethod
I don't know what is wrong, I am skipping imports or doing something stupid.
<bean id = "scheduledTASK" class ="org.springframework.scheduling.timer.ScheduledTimerTask">
<property name="delay" value="1000" />
<property name="period" value="6000"/>
<property name="timerTask" ref="methodInvokingTASK" />
</bean>
<bean id="timerFactory" class="org.springframework.scheduling.timer.TimerFactoryBean">
<property name="scheduledTimerTasks">
<list>
<ref local="scheduledTASK"/>
</list>
</property>
</bean>
<bean id="methodInvokingTASK" class="org.springframework.scheduling.timer.MethodInvokingTimerTaskFactoryBean">
</bean>
+2
zakaria
source
to share
No one has answered this question yet
Check out similar questions: