title: What to replace MethodInvokingTimerTaskFactoryBean with in Spring 4?
body: <p>I saw another question about this but there didn't seem to be a proper answer or explanation. </p>
  
  <p>I recently upgraded to Spring 4 and have had some problems with the concurrency package. Forgive my ignorance but from what I can see <code>ScheduledTimerTask</code> and <code>TimerFactoryBean</code> can be easily enough replaced with <code>ScheduledExecutorTask</code> and <code>ScheduledExecutorFactoryBean</code> however I can't see anything that easily replaces <code>MethodInvokingTimerTaskFactoryBean</code>.</p>