Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodInvokingRunnable Class

Adapter that implements the Runnable interface as a configurable method invocation based on Spring's MethodInvoker.

For a list of all members of this type, see MethodInvokingRunnable Members .


[Visual Basic]
Public Class MethodInvokingRunnable
    Inherits ArgumentConvertingMethodInvoker
    Implements IInitializingObject, IThreadRunnable
public class MethodInvokingRunnable : ArgumentConvertingMethodInvoker, IInitializingObject, IThreadRunnable

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Derives from ArgumentConvertingMethodInvoker, inheriting common configuration properties from MethodInvoker.

Useful to generically encapsulate a method invocation as timer task for

, in combination with a DelegatingTimerTask adapter. Can also be used with JDK 1.5's
abstraction, which works with plain Runnables.

Extended by Spring's MethodInvokingTimerTaskFactoryObject adapter for

. Note that you can populate a ScheduledTimerTask object with a plain MethodInvokingRunnable instance as well, which will automatically get wrapped with a DelegatingTimerTask.


Namespace: Spring.Scheduling.Quartz

Assembly: Spring.Scheduling.Quartz (in Spring.Scheduling.Quartz.dll)

See Also

MethodInvokingRunnable Members | Spring.Scheduling.Quartz Namespace | MethodInvoker | ArgumentConvertingMethodInvoker