クラス JobParserJobFactoryBean

java.lang.ObjectSE
org.springframework.batch.core.configuration.xml.JobParserJobFactoryBean
実装されたすべてのインターフェース:
org.springframework.beans.factory.FactoryBean<FlowJob>org.springframework.beans.factory.SmartFactoryBean<FlowJob>

public class JobParserJobFactoryBean extends ObjectSE implements org.springframework.beans.factory.SmartFactoryBean<FlowJob>
この FactoryBean は、バッチ名前空間パーサーが FlowJob オブジェクトを作成するために使用します。<job/> で構成可能なすべてのプロパティが格納されます。
導入:
2.0.1
作成者:
Dan Garrette, Dave Syer
  • コンストラクターの詳細

    • JobParserJobFactoryBean

      public JobParserJobFactoryBean(StringSE name)
      名前を初期化するファクトリ Bean のコンストラクター。
      パラメーター:
      name - ファクトリ Bean によって使用される名前。
  • メソッドの詳細

    • getObject

      public final FlowJob getObject() throws ExceptionSE
      次で指定:
      インターフェース org.springframework.beans.factory.FactoryBean<FlowJob>getObject 
      例外:
      ExceptionSE
    • setRestartable

      public void setRestartable(BooleanSE restartable)
      提供時の Bean の再起動可能フラグを設定します。
      パラメーター:
      restartable - 提供時の Bean で使用される再起動可能フラグ。
    • setJobRepository

      public void setJobRepository(JobRepository jobRepository)
      提供時の Bean に対して JobRepository を設定します。
      パラメーター:
      jobRepository - ファクトリ Bean で使用される JobRepository
    • setJobParametersValidator

      public void setJobParametersValidator(JobParametersValidator jobParametersValidator)
      提供時の Bean に対して JobParametersValidator を設定します。
      パラメーター:
      jobParametersValidator - ファクトリ Bean で使用される JobParametersValidator
    • getJobRepository

      public JobRepository getJobRepository()
      戻り値:
      ファクトリ Bean で使用されている JobRepository
    • setJobExecutionListeners

      public void setJobExecutionListeners(JobExecutionListener[] jobExecutionListeners)
    • setJobParametersIncrementer

      public void setJobParametersIncrementer(JobParametersIncrementer jobParametersIncrementer)
      提供時の Bean に対して JobParametersIncrementer を設定します。
      パラメーター:
      jobParametersIncrementer - ファクトリ Bean で使用される JobParametersIncrementer
    • setFlow

      public void setFlow(Flow flow)
      提供時の Bean の流量を設定します。
      パラメーター:
      flow - ファクトリ Bean で使用される Flow
    • getObjectType

      public ClassSE<FlowJob> getObjectType()
      次で指定:
      インターフェース org.springframework.beans.factory.FactoryBean<FlowJob>getObjectType 
    • isSingleton

      public boolean isSingleton()
      次で指定:
      インターフェース org.springframework.beans.factory.FactoryBean<FlowJob>isSingleton 
    • isEagerInit

      public boolean isEagerInit()
      次で指定:
      インターフェース org.springframework.beans.factory.SmartFactoryBean<FlowJob>isEagerInit 
    • isPrototype

      public boolean isPrototype()
      次で指定:
      インターフェース org.springframework.beans.factory.SmartFactoryBean<FlowJob>isPrototype