FactoryBean that exposes a TimerTask object that delegates
job execution to a specified (static or non-static) method.
Avoids the need to implement a one-line TimerTask that just
invokes an existing business method.
Derives from MethodInvokingRunnable to share common properties
and behavior, effectively providing a TimerTask adapter for it.
Often used to populate a ScheduledTimerTask object with a specific
reflective method invocation. Note that you can alternatively populate
a ScheduledTimerTask object with a plain MethodInvokingRunnable instance
as well (as of Spring 1.2.4), without the need for this special FactoryBean.
author: Juergen Hoeller since: 19.02.2004 See Also: DelegatingTimerTask See Also: ScheduledTimerTask.setTimerTask See Also: ScheduledTimerTask.setRunnable See Also: org.springframework.scheduling.support.MethodInvokingRunnable See Also: org.springframework.beans.factory.config.MethodInvokingFactoryBean |