クラス JobLaunchingGateway

java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.MessageHandlerSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.handler.AbstractMessageProducingHandler
org.springframework.integration.handler.AbstractReplyProducingMessageHandler
org.springframework.batch.integration.launch.JobLaunchingGateway
実装されたすべてのインターフェース:
org.reactivestreams.Subscriber<org.springframework.messaging.Message<?>>org.springframework.beans.factory.Awareorg.springframework.beans.factory.BeanClassLoaderAwareorg.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.factory.BeanNameAwareorg.springframework.beans.factory.DisposableBeanorg.springframework.beans.factory.InitializingBeanorg.springframework.context.ApplicationContextAwareorg.springframework.core.Orderedorg.springframework.integration.context.ExpressionCapableorg.springframework.integration.context.Orderableorg.springframework.integration.core.MessageProducerorg.springframework.integration.handler.HeaderPropagationAwareorg.springframework.integration.IntegrationPatternorg.springframework.integration.support.context.NamedComponentorg.springframework.integration.support.management.IntegrationManagementorg.springframework.integration.support.management.TrackableComponentorg.springframework.messaging.MessageHandlerreactor.core.CoreSubscriber<org.springframework.messaging.Message<?>>

public class JobLaunchingGateway extends org.springframework.integration.handler.AbstractReplyProducingMessageHandler
JobLaunchingGateway は、バッチジョブを起動するために使用されます。内部的には JobLaunchingMessageHandler に委譲します。
導入:
1.3
作成者:
Gunnar Hillert
  • ネストされたクラスのサマリー

    クラス org.springframework.integration.handler.AbstractReplyProducingMessageHandler から継承されたネストクラス / インターフェース

    org.springframework.integration.handler.AbstractReplyProducingMessageHandler.RequestHandler

    インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース

    org.springframework.integration.support.management.IntegrationManagement.ManagementOverrides
  • フィールドサマリー

    クラス org.springframework.integration.handler.AbstractMessageProducingHandler から継承されたフィールド

    messagingTemplate

    クラス org.springframework.integration.context.IntegrationObjectSupport から継承されたフィールド

    EXPRESSION_PARSER, logger

    インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたフィールド

    METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME

    インターフェース org.springframework.core.Ordered から継承されたフィールド

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
    JobLauncher をパラメーターとして受け取るコンストラクター。
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    protected ObjectSE
    handleRequestMessage(org.springframework.messaging.Message<?> requestMessage)
    提供されたリクエスト Message を使用してバッチジョブを起動します。

    クラス org.springframework.integration.handler.AbstractReplyProducingMessageHandler から継承されたメソッド

    doInit, doInvokeAdvisedRequestHandler, getBeanClassLoader, getIntegrationPatternType, getRequiresReply, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setRequiresReply

    クラス org.springframework.integration.handler.AbstractMessageProducingHandler から継承されたメソッド

    addNotPropagatedHeaders, createOutputMessage, getNotPropagatedHeaders, getOutputChannel, isAsync, messageBuilderForReply, produceOutput, resolveErrorChannel, sendErrorMessage, sendOutput, sendOutputs, setAsync, setNotPropagatedHeaders, setOutputChannel, setOutputChannelName, setSendTimeout, setupMessageProcessor, shouldCopyRequestHeaders, shouldSplitOutput, updateNotPropagatedHeaders

    クラス org.springframework.integration.handler.AbstractMessageHandler から継承されたメソッド

    handleMessage, onComplete, onError, onNext, onSubscribe, setObservationConvention

    クラス org.springframework.integration.handler.MessageHandlerSupport から継承されたメソッド

    buildSendTimer, destroy, getComponentType, getManagedName, getManagedType, getMetricsCaptor, getObservationRegistry, getOrder, getOverrides, isLoggingEnabled, isObserved, registerMetricsCaptor, registerObservationRegistry, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrack

    クラス org.springframework.integration.context.IntegrationObjectSupport から継承されたメソッド

    afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE

    インターフェース reactor.core.CoreSubscriber から継承されたメソッド

    currentContext

    インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたメソッド

    getThisAs

    インターフェース org.springframework.integration.support.context.NamedComponent から継承されたメソッド

    getBeanName, getComponentName
  • コンストラクターの詳細

    • JobLaunchingGateway

      public JobLaunchingGateway(JobLauncher jobLauncher)
      JobLauncher をパラメーターとして受け取るコンストラクター。
      パラメーター:
      jobLauncher - null であってはなりません。
  • メソッドの詳細

    • handleRequestMessage

      protected ObjectSE handleRequestMessage(org.springframework.messaging.Message<?> requestMessage)
      提供されたリクエスト Message を使用してバッチジョブを起動します。Message のペイロードは、JobLaunchRequest のインスタンスである必要があります。
      次で指定:
      クラス org.springframework.integration.handler.AbstractReplyProducingMessageHandlerhandleRequestMessage 
      パラメーター:
      requestMessage - null であってはなりません。
      戻り値:
      通常、JobExecution は常に返されます。例外(MessageHandlingException)は、ジョブの開始に失敗した場合にのみスローされます。例外の原因は JobExecutionException になります。
      例外:
      org.springframework.messaging.MessageHandlingException - ジョブを起動できない場合