Skip to content

Commit e595327

Browse files
committed
Polish "Clarify Javadoc of Customizer interfaces about overriding behavior"
See gh-46938
1 parent 6e82427 commit e595327

25 files changed

+54
-52
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/ConnectionFactoryCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
import com.rabbitmq.client.ConnectionFactory;
2020

2121
/**
22-
* Callback interface that can be implemented by beans wishing to customize the
23-
* auto-configured RabbitMQ {@link ConnectionFactory}.
22+
* Callback interface that can be implemented by beans wishing to customize the RabbitMQ
23+
* {@link ConnectionFactory} to fine-tune its auto-configuration.
2424
*
2525
* @author Andy Wilkinson
2626
* @since 2.5.0

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/EnvironmentBuilderCustomizer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* auto-configured {@link Environment} that is created by an {@link EnvironmentBuilder}.
24+
* {@link EnvironmentBuilder} to fine-tune its auto-configuration before it creates an
25+
* {@link Environment}.
2526
*
2627
* @author Andy Wilkinson
2728
* @since 3.0.0

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchConversionServiceCustomizer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link ConfigurableConversionService} that is
25-
* {@link DefaultBatchConfiguration#getConversionService provided by
26-
* DefaultBatchConfiguration} to fine-tune its auto-configuration.
24+
* {@link ConfigurableConversionService} to fine-tune its auto-configuration. The
25+
* conversion service is {@link DefaultBatchConfiguration#getConversionService provided by
26+
* DefaultBatchConfiguration}.
2727
*
2828
* @author Claudio Nave
2929
* @since 3.1.0

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CouchbaseCacheManagerBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link CouchbaseCacheManagerBuilder} before it is used to build the auto-configured
25-
* {@link CouchbaseCacheManager}.
24+
* {@link CouchbaseCacheManagerBuilder} to fine-tune its auto-configuration before it is
25+
* used to build the auto-configured {@link CouchbaseCacheManager}.
2626
*
2727
* @author Stephane Nicoll
2828
* @since 2.3.3

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cassandra/CqlSessionBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link CqlSession} through a {@link CqlSessionBuilder} to fine-tune
25-
* its auto-configuration.
24+
* {@link CqlSessionBuilder} to fine-tune its auto-configuration before it creates a
25+
* {@link CqlSession}.
2626
*
2727
* @author Stephane Nicoll
2828
* @since 2.3.0

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cassandra/DriverConfigLoaderBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link DriverConfigLoader} through a {@link DriverConfigLoaderBuilderCustomizer}
25-
* to fine-tune its auto-configuration.
24+
* {@link DriverConfigLoaderBuilderCustomizer} to fine-tune its auto-configuration before
25+
* it creates a {@link DriverConfigLoader}.
2626
*
2727
* @author Stephane Nicoll
2828
* @since 2.3.0

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/couchbase/ClusterEnvironmentBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link ClusterEnvironment} through a {@link Builder ClusterEnvironment.Builder}
25-
* to fine-tune its auto-configuration.
24+
* {@link Builder ClusterEnvironment.Builder} to fine-tune its auto-configuration before
25+
* it creates the {@link ClusterEnvironment}.
2626
*
2727
* @author Stephane Nicoll
2828
* @since 2.3.0

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/ClientResourcesBuilderCustomizer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link ClientResources} through a {@link Builder} to fine-tune its auto-configuration.
24+
* {@link Builder} to fine-tune its auto-configuration before it creates the
25+
* {@link ClientResources}.
2526
*
2627
* @author Stephane Nicoll
2728
* @since 2.6.0

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/JedisClientConfigurationBuilderCustomizer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link JedisClientConfiguration} through a {@link JedisClientConfigurationBuilder
25-
* JedisClientConfiguration.JedisClientConfigurationBuilder} to fine-tune
26-
* its auto-configuration.
24+
* {@link JedisClientConfigurationBuilder} to fine-tune its auto-configuration before it
25+
* creates the {@link JedisClientConfiguration}.
2726
*
2827
* @author Mark Paluch
2928
* @since 2.0.0

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/LettuceClientConfigurationBuilderCustomizer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link LettuceClientConfiguration} through a {@link LettuceClientConfigurationBuilder
25-
* LettuceClientConfiguration.LettuceClientConfigurationBuilder} to fine-tune
26-
* its auto-configuration. To customize only the
24+
* {@link LettuceClientConfigurationBuilder} to fine-tune its auto-configuration before it
25+
* creates the {@link LettuceClientConfiguration}. To customize only the
2726
* {@link LettuceClientConfiguration#getClientOptions() client options} of the
2827
* configuration, use {@link LettuceClientOptionsBuilderCustomizer} instead.
2928
*

0 commit comments

Comments
 (0)