Inherits common configuration properties from the {@link MethodInvoker}base class, such as {@link #setTargetObject "targetObject"} and{@link #setTargetMethod "targetMethod"}, adding support for lookup of the target bean by name through the {@link #setTargetBeanName "targetBeanName"} property(as alternative to specifying a "targetObject" directly, allowing for non-singleton target objects).
Supports both concurrently running jobs and non-currently running jobs through the "concurrent" property. Jobs created by this MethodInvokingJobDetailFactoryBean are by default volatile and durable (according to Quartz terminology).
NOTE: JobDetails created via this FactoryBean 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.
Compatible with Quartz 1.5+ as well as Quartz 2.0/2.1, as of Spring 3.1. @author Juergen Hoeller @author Alef Arendsen @since 18.02.2004 @see #setTargetBeanName @see #setTargetObject @see #setTargetMethod @see #setConcurrent
|
|