クラス TaskBatchEventListenerBeanPostProcessor

java.lang.ObjectSE
org.springframework.cloud.task.batch.listener.support.TaskBatchEventListenerBeanPostProcessor
実装されたすべてのインターフェース:
org.springframework.beans.factory.config.BeanPostProcessor

@ImportRuntimeHints(org.springframework.cloud.task.batch.listener.support.TaskBatchEventListenerBeanPostProcessor.RuntimeHint.class) public class TaskBatchEventListenerBeanPostProcessor extends ObjectSE implements org.springframework.beans.factory.config.BeanPostProcessor
リスナーをジョブとそのステップに接続します。処理中の Bean の型に基づいて、接続されるリスナーが決定されます。
  • Bean の型が AbstractJob の場合、JobExecutionListener はこの Bean に登録されます。
  • Bean の型が AbstractStep の場合、StepExecutionListener はこの Bean に登録されます。
  • Bean の型が TaskletStep の場合、ChunkEventListener はこの Bean に登録されます。
  • TaskletStep のタスクレットの型が ChunkOrientedTasklet の場合、次のリスナーが登録されます。
    • ItemReadListener と ChunkProvider。
    • ItemProcessListener と ChunkProcessor。
    • ItemWriteEventsListener と ChunkProcessor。
    • SkipEventsListener と ChunkProcessor。
作成者:
Michael Minella, Glenn Renfro
  • コンストラクターの詳細

    • TaskBatchEventListenerBeanPostProcessor

      public TaskBatchEventListenerBeanPostProcessor()
  • メソッドの詳細

    • postProcessBeforeInitialization

      public ObjectSE postProcessBeforeInitialization(ObjectSE bean, StringSE beanName) throws org.springframework.beans.BeansException
      次で指定:
      インターフェース org.springframework.beans.factory.config.BeanPostProcessorpostProcessBeforeInitialization 
      例外:
      org.springframework.beans.BeansException
    • postProcessAfterInitialization

      public ObjectSE postProcessAfterInitialization(ObjectSE bean, StringSE beanName) throws org.springframework.beans.BeansException
      次で指定:
      インターフェース org.springframework.beans.factory.config.BeanPostProcessorpostProcessAfterInitialization 
      例外:
      org.springframework.beans.BeansException