Adapter that implements the Runnable interface as a configurable
method invocation based on Spring's MethodInvoker.
Inherits common configuration properties from
org.springframework.util.MethodInvoker .
Useful to generically encapsulate a method invocation as timer task
for java.util.Timer , in combination with a
org.springframework.scheduling.timer.DelegatingTimerTask adapter.
Can also be used with JDK 1.5's java.util.concurrent.Executor
abstraction, which works with plain Runnables.
Extended by Spring's
org.springframework.scheduling.timer.MethodInvokingTimerTaskFactoryBean adapter for java.util.TimerTask . |