Skip to content

Commit 90f7398

Browse files
committed
Move listener APIs under core.listener package
Resolves #4867
1 parent bcf4f72 commit 90f7398

File tree

118 files changed

+268
-320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+268
-320
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterChunk.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2008 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
*/
1616
package org.springframework.batch.core.annotation;
1717

18-
import org.springframework.batch.core.ChunkListener;
18+
import org.springframework.batch.core.listener.ChunkListener;
1919
import org.springframework.batch.core.scope.context.ChunkContext;
2020

2121
import java.lang.annotation.ElementType;

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterChunkError.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
*/
1616
package org.springframework.batch.core.annotation;
1717

18-
import org.springframework.batch.core.ChunkListener;
18+
import org.springframework.batch.core.listener.ChunkListener;
1919
import org.springframework.batch.core.scope.context.ChunkContext;
2020

2121
import java.lang.annotation.ElementType;

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterJob.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2022 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
2323

2424
import org.springframework.batch.core.Job;
2525
import org.springframework.batch.core.JobExecution;
26-
import org.springframework.batch.core.JobExecutionListener;
26+
import org.springframework.batch.core.listener.JobExecutionListener;
2727

2828
/**
2929
* Marks a method to be called after a {@link Job} has completed. Annotated methods are

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterProcess.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2022 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@
2121
import java.lang.annotation.RetentionPolicy;
2222
import java.lang.annotation.Target;
2323

24-
import org.springframework.batch.core.ItemProcessListener;
24+
import org.springframework.batch.core.listener.ItemProcessListener;
2525
import org.springframework.batch.item.ItemProcessor;
2626

2727
/**

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterRead.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2008 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@
2020
import java.lang.annotation.RetentionPolicy;
2121
import java.lang.annotation.Target;
2222

23-
import org.springframework.batch.core.ItemReadListener;
23+
import org.springframework.batch.core.listener.ItemReadListener;
2424
import org.springframework.batch.item.ItemReader;
2525

2626
/**

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2022 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@
2424
import org.springframework.batch.core.ExitStatus;
2525
import org.springframework.batch.core.Step;
2626
import org.springframework.batch.core.StepExecution;
27-
import org.springframework.batch.core.StepExecutionListener;
27+
import org.springframework.batch.core.listener.StepExecutionListener;
2828

2929
/**
3030
* Marks a method to be called after a {@link Step} has completed. Annotated methods are

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterWrite.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2022 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@
2121
import java.lang.annotation.RetentionPolicy;
2222
import java.lang.annotation.Target;
2323

24-
import org.springframework.batch.core.ItemWriteListener;
24+
import org.springframework.batch.core.listener.ItemWriteListener;
2525
import org.springframework.batch.item.ItemWriter;
2626

2727
/**

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/BeforeChunk.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2013 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@
2020
import java.lang.annotation.RetentionPolicy;
2121
import java.lang.annotation.Target;
2222

23-
import org.springframework.batch.core.ChunkListener;
23+
import org.springframework.batch.core.listener.ChunkListener;
2424
import org.springframework.batch.core.scope.context.ChunkContext;
2525

2626
/**

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/BeforeJob.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2022 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
2323

2424
import org.springframework.batch.core.Job;
2525
import org.springframework.batch.core.JobExecution;
26-
import org.springframework.batch.core.JobExecutionListener;
26+
import org.springframework.batch.core.listener.JobExecutionListener;
2727
import org.springframework.batch.core.Step;
2828
import org.springframework.beans.factory.annotation.Qualifier;
2929

spring-batch-core/src/main/java/org/springframework/batch/core/annotation/BeforeProcess.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2008 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@
2020
import java.lang.annotation.RetentionPolicy;
2121
import java.lang.annotation.Target;
2222

23-
import org.springframework.batch.core.ItemProcessListener;
23+
import org.springframework.batch.core.listener.ItemProcessListener;
2424
import org.springframework.batch.item.ItemProcessor;
2525

2626
/**

0 commit comments

Comments
 (0)