public class DelegatingJob extends ObjectSE implements Job
RunnableSE インスタンスに委譲する単純な Quartz Job アダプター。通常、Runnable インスタンスでのプロパティインジェクションと組み合わせて使用され、JobExecutionContext を介する代わりに Quartz JobDataMap からパラメーターを受け取ります。
SpringBeanJobFactory, Job.execute(org.quartz.JobExecutionContext)| コンストラクターと説明 |
|---|
DelegatingJob(RunnableSE delegate) 新しい DelegatingJob を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | execute(JobExecutionContext context) 基になる Runnable に実行を委譲します。 |
RunnableSE | getDelegate() ラップされた Runnable 実装を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic DelegatingJob(RunnableSE delegate)
delegate - 委譲する Runnable 実装 public final RunnableSE getDelegate()
public void execute(JobExecutionContext context) throws JobExecutionException
Job の execute JobExecutionException