jp.terasoluna.fw.batch.commonj.init
クラス ChildJobExecutor

java.lang.Object
  上位を拡張 jp.terasoluna.fw.batch.springsupport.init.JobExecutor
      上位を拡張 jp.terasoluna.fw.batch.commonj.init.JobExecutor
          上位を拡張 jp.terasoluna.fw.batch.commonj.init.ChildJobExecutor
すべての実装されたインタフェース:
commonj.work.Work, java.lang.Runnable, Workable<AbstractJobControlInfo>, org.springframework.beans.factory.DisposableBean

推奨されていません。

public class ChildJobExecutor
extends JobExecutor

分散処理における子ジョブ起動用メインクラス。
親ジョブからのメッセージで受け取った子ジョブ用のジョブコンテキストを
使用して子ジョブのジョブを実行する。


フィールドの概要
private  JobContext jobContext
          推奨されていません。 ジョブコンテキスト。
private static org.apache.commons.logging.Log log
          推奨されていません。 ログインスタンス。
 
クラス jp.terasoluna.fw.batch.commonj.init.JobExecutor から継承されたフィールド
jobStatus
 
クラス jp.terasoluna.fw.batch.springsupport.init.JobExecutor から継承されたフィールド
DATA_ACCESS_CONTEXT_DEFINITION_NAME, JOBSTATUS_NAME, JOBSTATUS_SUMMARIZER, MONITORABLE_JOBSTATUS_NAME, USE_MONITORABLE, USECACHE_NAME, VALIDATE_DEFINITION_NAME
 
コンストラクタの概要
ChildJobExecutor()
          推奨されていません。  
 
メソッドの概要
 JobStatus execute(JobInfo jobInfo, JobContext jobContext)
          推奨されていません。 ジョブを実行する。
 JobStatus getJobStatus()
          推奨されていません。 ジョブステータスの取得。
protected  JobStatus getJobStatus(org.springframework.context.ConfigurableApplicationContext jobFactory, JobContext jobContext)
          推奨されていません。 ジョブコンテキストからジョブステータスを作成する。
protected  void printEndLog(JobStatus jobStatus)
          推奨されていません。 ジョブの終了ログ。
protected  void printStartLog(JobContext jobContext)
          推奨されていません。 ジョブの開始ログ。
 void run()
          推奨されていません。 ジョブの非同期並列実行。
 void setJobContext(JobContext jobContext)
          推奨されていません。 ジョブコンテキストの設定。
 
クラス jp.terasoluna.fw.batch.commonj.init.JobExecutor から継承されたメソッド
execute, getJobBeanFactory, getJobInfo, isDaemon, release, setJobInfo
 
クラス jp.terasoluna.fw.batch.springsupport.init.JobExecutor から継承されたメソッド
destroy, getFrameworkFactory, getJobContext, getJobManager, getJobStatus, getWorkUnit, initEndFileChecker, isAsync, printStartLog, removeJobStatusFromEndFileChecker, setAsync, setDefaultJobExitCode, setJobParametersSplitStr, setPostJobProcessor, setPreJobProcessor, setThrowableHandler, work
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

log

private static final org.apache.commons.logging.Log log
推奨されていません。 
ログインスタンス。


jobContext

private JobContext jobContext
推奨されていません。 
ジョブコンテキスト。

コンストラクタの詳細

ChildJobExecutor

public ChildJobExecutor()
推奨されていません。 
メソッドの詳細

execute

public JobStatus execute(JobInfo jobInfo,
                         JobContext jobContext)
推奨されていません。 
ジョブを実行する。
指定されたジョブコンテキストの情報に基づいてジョブを実行する。

パラメータ:
jobInfo - ジョブ依頼情報
jobContext - ジョブコンテキスト
戻り値:
ジョブ実行結果

run

public void run()
推奨されていません。 
ジョブの非同期並列実行。

定義:
インタフェース java.lang.Runnable 内の run
オーバーライド:
クラス JobExecutor 内の run

getJobStatus

protected JobStatus getJobStatus(org.springframework.context.ConfigurableApplicationContext jobFactory,
                                 JobContext jobContext)
推奨されていません。 
ジョブコンテキストからジョブステータスを作成する。

パラメータ:
jobFactory - ジョブ毎のBeanFactory
jobContext - ジョブコンテキスト
戻り値:
初期ジョブステータス

printStartLog

protected void printStartLog(JobContext jobContext)
推奨されていません。 
ジョブの開始ログ。

パラメータ:
jobContext - ジョブコンテキスト

printEndLog

protected void printEndLog(JobStatus jobStatus)
推奨されていません。 
ジョブの終了ログ。

オーバーライド:
クラス JobExecutor 内の printEndLog
パラメータ:
jobStatus - ジョブステータス

getJobStatus

public JobStatus getJobStatus()
推奨されていません。 
ジョブステータスの取得。

オーバーライド:
クラス JobExecutor 内の getJobStatus
戻り値:
jobStatus ジョブステータス

setJobContext

public void setJobContext(JobContext jobContext)
推奨されていません。 
ジョブコンテキストの設定。

パラメータ:
jobContext - ジョブコンテキスト