Class MethodInvokingJobDetailFactoryBean.MethodInvokingJob
java.lang.Object
org.springframework.scheduling.quartz.QuartzJobBean
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.MethodInvokingJob
- All Implemented Interfaces:
Job
- Direct Known Subclasses:
MethodInvokingJobDetailFactoryBean.StatefulMethodInvokingJob
- Enclosing class:
- MethodInvokingJobDetailFactoryBean
Quartz Job implementation that invokes a specified method.
Automatically applied by MethodInvokingJobDetailFactoryBean.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
executeInternal
(JobExecutionContext context) Invoke the method via the MethodInvoker.void
setMethodInvoker
(MethodInvoker methodInvoker) Set the MethodInvoker to use.Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean
execute
-
Field Details
-
logger
-
-
Constructor Details
-
MethodInvokingJob
public MethodInvokingJob()
-
-
Method Details
-
setMethodInvoker
Set the MethodInvoker to use. -
executeInternal
Invoke the method via the MethodInvoker.- Specified by:
executeInternal
in classQuartzJobBean
- Throws:
JobExecutionException
- See Also:
-