Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodInvokingJobDetailFactoryObject Class

IFactoryObject that exposes a JobDetail object that delegates job execution to a specified (static or non-static) method. Avoids the need to implement a one-line Quartz Job that just invokes an existing service method.

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

System.Object
   MethodInvoker
      ArgumentConvertingMethodInvoker
         MethodInvokingJobDetailFactoryObject

[Visual Basic]
Public Class MethodInvokingJobDetailFactoryObject
    Inherits ArgumentConvertingMethodInvoker
    Implements IObjectFactoryAware, IFactoryObject, IObjectNameAware, IInitializingObject
[C#]
public class MethodInvokingJobDetailFactoryObject : ArgumentConvertingMethodInvoker, IObjectFactoryAware, IFactoryObject, IObjectNameAware, IInitializingObject

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.

Remarks

Derived from ArgumentConverting MethodInvoker to share common properties and behavior with MethodInvokingFactoryObject.

Supports both concurrently running jobs and non-currently running ones through the "concurrent" property. Jobs created by this MethodInvokingJobDetailFactoryObject are by default volatile and durable (according to Quartz terminology).

NOTE: JobDetails created via this FactoryObject are not serializable and thus not suitable for persistent job stores. You need to implement your own Quartz Job as a thin wrapper for each case where you want a persistent job to delegate to a specific service method.

Requirements

Namespace: Spring.Scheduling.Quartz

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

See Also

MethodInvokingJobDetailFactoryObject Members | Spring.Scheduling.Quartz Namespace | Concurrent | MethodInvokingFactoryObject