站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

MethodInvokingJobDetailFactoryBean.MethodInvokingJob (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.scheduling.quartz
Class MethodInvokingJobDetailFactoryBean.MethodInvokingJob

java.lang.Object
  extended by org.springframework.scheduling.quartz.QuartzJobBean
      extended by org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.MethodInvokingJob
All Implemented Interfaces:
Job
Direct Known Subclasses:
MethodInvokingJobDetailFactoryBean.StatefulMethodInvokingJob
Enclosing class:
MethodInvokingJobDetailFactoryBean

public static class MethodInvokingJobDetailFactoryBean.MethodInvokingJob
extends QuartzJobBean

Quartz Job implementation that invokes a specified method. Automatically applied by MethodInvokingJobDetailFactoryBean.


Field Summary
protected static Log logger
           
 
Constructor Summary
MethodInvokingJobDetailFactoryBean.MethodInvokingJob()
           
 
Method Summary
protected  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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final Log logger
Constructor Detail

MethodInvokingJobDetailFactoryBean.MethodInvokingJob

public MethodInvokingJobDetailFactoryBean.MethodInvokingJob()
Method Detail

setMethodInvoker

public void setMethodInvoker(MethodInvoker methodInvoker)
Set the MethodInvoker to use.


executeInternal

protected void executeInternal(JobExecutionContext context)
                        throws JobExecutionException
Invoke the method via the MethodInvoker.

Specified by:
executeInternal in class QuartzJobBean
Throws:
JobExecutionException
See Also:
QuartzJobBean.execute(org.quartz.JobExecutionContext)

The Spring Framework

Copyright © 2002-2007 The Spring Framework.