-
Nov 18th, 2010, 06:00 AM
#1
Conditioning TimerTask execution upon a property?
Hi all,
I've got a Timer Task defined in a Spring XML bean but I'd like this task to run only if a certain property is set.
Would it be possible to do something like:
<if property="myprop">
<bean id="timertask">
</if>
or is there any attribute in Timer Task beans which allows to say: only run if this property is set to true?
Regards,
Marco
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules