title: How to schedule (and reset) a task programmatically with SpringFramwork?
body: <p>There is a situation where I want to invoke a method after some predetermined time, say 30 sec or 5 min.</p>
  
  <p>Time needs to be configured at run time, means I should be able to change time dynamically from 5 min to 3 min.(reset the timer to new interval programmatically)</p>
  
  <p>I am developing a dynamic web project using Spring framework.</p>
  
  <p>I have checked the Quartz and Timer classes but they seem to read XML configuration for parameters such as delay, repeatInterval and so on.</p>
  
  <p>How can I do that? Does Spring provide any support for this?</p>
  
  <p>Thank you in advance.</p>