ナビゲーションリンクをスキップ
  • ホーム
  • 概要
  • パッケージ
  • クラス
  • 使用
  • ツリー
  • 非推奨
  • インデックス
  • ヘルプ

非推奨の API

内容

  • 最終的に非推奨
  • クラス
  • メソッド
  • コンストラクター
  • アノテーションインターフェース要素
  • 最終的に非推奨の要素
    要素
    説明
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.lobHandlerRef()
    5.2 以降は代替なし。v6 で削除予定
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.getLobHandler()
    5.2 以降は代替なし。v6 で削除予定
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobLauncher()
    5.2 以降。代わりに DefaultBatchConfiguration.jobLauncher(JobRepository) を使用してください
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobOperator()
    5.2 以降。代わりに DefaultBatchConfiguration.jobOperator(JobRepository, JobExplorer, JobRegistry, JobLauncher) を使用してください
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobRegistryBeanPostProcessor()
    代わりに DefaultBatchConfiguration.jobRegistrySmartInitializingSingleton(JobRegistry) を使用してください
    org.springframework.batch.core.configuration.xml.StepParserStepFactoryBean.setThrottleLimit(Integer)
    5.0 以降、6.0 で削除予定。いずれにせよ、この API はエンドユーザーを対象としたものではありません。これは、XML 名前空間パーサーによってのみ使用されます。
    org.springframework.batch.core.explore.support.JobExplorerFactoryBean.setLobHandler(LobHandler)
    5.2 以降は代替なし。v6 で削除予定
    org.springframework.batch.core.job.builder.JobBuilder(String)
    JobBuilder(String, JobRepository) を使用
    org.springframework.batch.core.job.builder.JobBuilderHelper(String)
    JobBuilderHelper(String, JobRepository) を使用
    org.springframework.batch.core.job.builder.JobBuilderHelper.repository(JobRepository)
    JobBuilderHelper(String, JobRepository) を使用
    org.springframework.batch.core.repository.dao.JdbcExecutionContextDao.setLobHandler(LobHandler)
    5.2 以降は代替なし。v6 で削除予定
    org.springframework.batch.core.repository.support.JobRepositoryFactoryBean.setLobHandler(LobHandler)
    5.2 以降は代替なし。v6 で削除予定
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.getThrottleLimit()
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.throttleLimit(int)
    5.0 以来代替がなく、6.0 で削除される予定です。カスタム RepeatOperations 実装 (バインドされたタスクキューを備えた TaskExecutor に基づく) を使用し、AbstractTaskletStepBuilder.stepOperations(RepeatOperations) を使用してステップに設定します。
    org.springframework.batch.core.step.builder.StepBuilder(String)
    StepBuilder(String, JobRepository) を使用
    org.springframework.batch.core.step.builder.StepBuilder.chunk(int)
    StepBuilder.chunk(int, PlatformTransactionManager) を使用
    org.springframework.batch.core.step.builder.StepBuilder.chunk(CompletionPolicy)
    StepBuilder.chunk(CompletionPolicy, PlatformTransactionManager) を使用
    org.springframework.batch.core.step.builder.StepBuilder.tasklet(Tasklet)
    StepBuilder.tasklet(Tasklet, PlatformTransactionManager) を使用
    org.springframework.batch.core.step.builder.StepBuilderHelper(String)
    StepBuilderHelper(String, JobRepository) を使用
    org.springframework.batch.core.step.builder.StepBuilderHelper.repository(JobRepository)
    StepBuilderHelper(String, JobRepository) を使用
    org.springframework.batch.core.step.builder.TaskletStepBuilder.tasklet(Tasklet)
    TaskletStepBuilder.tasklet(Tasklet, PlatformTransactionManager) を使用
    org.springframework.batch.core.step.factory.SimpleStepFactoryBean.setThrottleLimit(int)
    5.0 以降、6.0 で削除予定。代わりに、タスクキューの容量が制限されたプールされた TaskExecutor 実装を使用します。
    org.springframework.batch.integration.chunk.RemoteChunkingManagerStepBuilder(String)
    RemoteChunkingManagerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.chunk.RemoteChunkingManagerStepBuilder.repository(JobRepository)
    RemoteChunkingManagerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.partition.RemotePartitioningManagerStepBuilder(String)
    RemotePartitioningManagerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.partition.RemotePartitioningManagerStepBuilder.repository(JobRepository)
    RemotePartitioningManagerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder(String)
    RemotePartitioningWorkerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(int)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(CompletionPolicy)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.repository(JobRepository)
    RemotePartitioningWorkerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.tasklet(Tasklet)
    org.springframework.batch.item.data.builder.MongoItemReaderBuilder
    代わりに MongoPagingItemReaderBuilder を使用してください。v5.3 以降で削除予定。
    org.springframework.batch.item.data.builder.MongoItemWriterBuilder.delete(boolean)
    代わりに MongoItemWriterBuilder.mode(Mode) を使用してください。v5.3 以降で削除予定。
    org.springframework.batch.item.data.MongoItemReader
    代わりに MongoPagingItemReader を使用してください。v5.3 以降で削除予定。
    org.springframework.batch.item.data.MongoItemWriter.setDelete(boolean)
    代わりに MongoItemWriter.setMode(Mode) を使用してください。v5.3 以降で削除予定。
    org.springframework.batch.item.database.support.SqlWindowingPagingQueryProvider
    5.2.1 以来、代替はありません。6.0 で削除予定。
    org.springframework.batch.repeat.support.ResultHolderResultQueue
    5.0 以来、代替はありません。6.0 で削除予定。
    org.springframework.batch.repeat.support.TaskExecutorRepeatTemplate.setThrottleLimit(int)
    5.0 以降、6.0 で削除予定。代わりに、タスクキューの容量が制限されたプールされた TaskExecutor 実装を使用してください。
    org.springframework.batch.repeat.support.ThrottleLimitResultQueue
    5.0 以来、代替はありません。6.0 で削除予定。
    org.springframework.batch.support.SystemPropertyInitializer
    5.2 以降、代替はありません。
  • 非推奨のクラス
    クラス
    説明
    org.springframework.batch.core.configuration.support.JobRegistryBeanPostProcessor
    JobRegistrySmartInitializingSingleton を推奨する 5.2 以降。
    org.springframework.batch.core.listener.ChunkListenerSupport
    5.0 の時点で、ChunkListener のデフォルトの方法を優先
    org.springframework.batch.core.listener.JobExecutionListenerSupport
    5.0 の時点で、JobExecutionListener のデフォルトの方法を優先
    org.springframework.batch.core.listener.SkipListenerSupport
    v5.0 の時点で SkipListener のデフォルトメソッドを推奨。
    org.springframework.batch.core.listener.StepExecutionListenerSupport
    5.0 の時点で、StepExecutionListener のデフォルトの方法を優先
    org.springframework.batch.item.data.builder.MongoItemReaderBuilder
    代わりに MongoPagingItemReaderBuilder を使用してください。v5.3 以降で削除予定。
    org.springframework.batch.item.data.builder.Neo4jItemReaderBuilder
    5.0 以降、... のアイテムリーダービルダーを優先
    org.springframework.batch.item.data.builder.Neo4jItemWriterBuilder
    5.0 以降、... のアイテムライタービルダーを推奨
    org.springframework.batch.item.data.MongoItemReader
    代わりに MongoPagingItemReader を使用してください。v5.3 以降で削除予定。
    org.springframework.batch.item.data.Neo4jItemReader
    5.0 以降、... のアイテムリーダーを優先
    org.springframework.batch.item.data.Neo4jItemWriter
    5.0 以降、... のアイテムライターを推奨
    org.springframework.batch.item.database.support.SqlWindowingPagingQueryProvider
    5.2.1 以来、代替はありません。6.0 で削除予定。
    org.springframework.batch.repeat.listener.RepeatListenerSupport
    v5.0 の時点で RepeatListener のデフォルトメソッドを推奨。
    org.springframework.batch.repeat.support.ResultHolderResultQueue
    5.0 以来、代替はありません。6.0 で削除予定。
    org.springframework.batch.repeat.support.ThrottleLimitResultQueue
    5.0 以来、代替はありません。6.0 で削除予定。
    org.springframework.batch.support.SystemPropertyInitializer
    5.2 以降、代替はありません。
  • 非推奨のメソッド
    メソッド
    説明
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.lobHandlerRef()
    5.2 以降は代替なし。v6 で削除予定
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.getLobHandler()
    5.2 以降は代替なし。v6 で削除予定
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobLauncher()
    5.2 以降。代わりに DefaultBatchConfiguration.jobLauncher(JobRepository) を使用してください
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobOperator()
    5.2 以降。代わりに DefaultBatchConfiguration.jobOperator(JobRepository, JobExplorer, JobRegistry, JobLauncher) を使用してください
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobRegistryBeanPostProcessor()
    代わりに DefaultBatchConfiguration.jobRegistrySmartInitializingSingleton(JobRegistry) を使用してください
    org.springframework.batch.core.configuration.xml.StepParserStepFactoryBean.setThrottleLimit(Integer)
    5.0 以降、6.0 で削除予定。いずれにせよ、この API はエンドユーザーを対象としたものではありません。これは、XML 名前空間パーサーによってのみ使用されます。
    org.springframework.batch.core.explore.support.JobExplorerFactoryBean.setLobHandler(LobHandler)
    5.2 以降は代替なし。v6 で削除予定
    org.springframework.batch.core.job.builder.JobBuilderHelper.repository(JobRepository)
    JobBuilderHelper(String, JobRepository) を使用
    org.springframework.batch.core.repository.dao.JdbcExecutionContextDao.setLobHandler(LobHandler)
    5.2 以降は代替なし。v6 で削除予定
    org.springframework.batch.core.repository.dao.JdbcJobInstanceDao.setJobIncrementer(DataFieldMaxValueIncrementer)
    JdbcJobInstanceDao.setJobInstanceIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer) の使用を推奨する v5.0 の時点
    org.springframework.batch.core.repository.support.JobRepositoryFactoryBean.setLobHandler(LobHandler)
    5.2 以降は代替なし。v6 で削除予定
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.getThrottleLimit()
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.throttleLimit(int)
    5.0 以来代替がなく、6.0 で削除される予定です。カスタム RepeatOperations 実装 (バインドされたタスクキューを備えた TaskExecutor に基づく) を使用し、AbstractTaskletStepBuilder.stepOperations(RepeatOperations) を使用してステップに設定します。
    org.springframework.batch.core.step.builder.StepBuilder.chunk(int)
    StepBuilder.chunk(int, PlatformTransactionManager) を使用
    org.springframework.batch.core.step.builder.StepBuilder.chunk(CompletionPolicy)
    StepBuilder.chunk(CompletionPolicy, PlatformTransactionManager) を使用
    org.springframework.batch.core.step.builder.StepBuilder.tasklet(Tasklet)
    StepBuilder.tasklet(Tasklet, PlatformTransactionManager) を使用
    org.springframework.batch.core.step.builder.StepBuilderHelper.repository(JobRepository)
    StepBuilderHelper(String, JobRepository) を使用
    org.springframework.batch.core.step.builder.TaskletStepBuilder.tasklet(Tasklet)
    TaskletStepBuilder.tasklet(Tasklet, PlatformTransactionManager) を使用
    org.springframework.batch.core.step.factory.SimpleStepFactoryBean.setThrottleLimit(int)
    5.0 以降、6.0 で削除予定。代わりに、タスクキューの容量が制限されたプールされた TaskExecutor 実装を使用します。
    org.springframework.batch.integration.chunk.RemoteChunkingManagerStepBuilder.repository(JobRepository)
    RemoteChunkingManagerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.partition.RemotePartitioningManagerStepBuilder.repository(JobRepository)
    RemotePartitioningManagerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(int)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(CompletionPolicy)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.repository(JobRepository)
    RemotePartitioningWorkerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.tasklet(Tasklet)
    org.springframework.batch.item.data.builder.MongoItemWriterBuilder.delete(boolean)
    代わりに MongoItemWriterBuilder.mode(Mode) を使用してください。v5.3 以降で削除予定。
    org.springframework.batch.item.data.MongoItemWriter.setDelete(boolean)
    代わりに MongoItemWriter.setMode(Mode) を使用してください。v5.3 以降で削除予定。
    org.springframework.batch.item.database.support.SqlPagingQueryUtils.generateGroupedTopSqlQuery(AbstractSqlPagingQueryProvider, boolean, String)
    v5.2 以降、SqlPagingQueryUtils.generateGroupedTopSqlQuery(AbstractSqlPagingQueryProvider, String) を推奨
    org.springframework.batch.item.database.support.SqlPagingQueryUtils.generateLimitGroupedSqlQuery(AbstractSqlPagingQueryProvider, boolean, String)
    v5.0 現在、SqlPagingQueryUtils.generateLimitGroupedSqlQuery(AbstractSqlPagingQueryProvider, java.lang.String) を推奨
    org.springframework.batch.repeat.support.TaskExecutorRepeatTemplate.setThrottleLimit(int)
    5.0 以降、6.0 で削除予定。代わりに、タスクキューの容量が制限されたプールされた TaskExecutor 実装を使用してください。
  • 非推奨のコンストラクター
    コンストラクター
    説明
    org.springframework.batch.core.job.builder.JobBuilder(String)
    JobBuilder(String, JobRepository) を使用
    org.springframework.batch.core.job.builder.JobBuilderHelper(String)
    JobBuilderHelper(String, JobRepository) を使用
    org.springframework.batch.core.step.builder.StepBuilder(String)
    StepBuilder(String, JobRepository) を使用
    org.springframework.batch.core.step.builder.StepBuilderHelper(String)
    StepBuilderHelper(String, JobRepository) を使用
    org.springframework.batch.integration.chunk.RemoteChunkingManagerStepBuilder(String)
    RemoteChunkingManagerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.partition.RemotePartitioningManagerStepBuilder(String)
    RemotePartitioningManagerStepBuilder(String, JobRepository) を使用
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder(String)
    RemotePartitioningWorkerStepBuilder(String, JobRepository) を使用
  • 非推奨のアノテーションインターフェース要素
    アノテーションインターフェース Element
    説明
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.lobHandlerRef()
    5.2 以降は代替なし。v6 で削除予定

Copyright © 2025 Spring. All rights reserved.