From 196d665e63c859e9eea12eeb22718af2501f7711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Fri, 2 Jan 2026 14:00:02 +0100 Subject: [PATCH] Clarify scope of HazelcastConfigCustomizer Closes gh-48634 --- .../autoconfigure/hazelcast/HazelcastConfigCustomizer.java | 4 ++-- .../src/docs/antora/modules/reference/pages/io/hazelcast.adoc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastConfigCustomizer.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastConfigCustomizer.java index ecfbb7d6e96..7296b5e5606 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastConfigCustomizer.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastConfigCustomizer.java @@ -19,8 +19,8 @@ package org.springframework.boot.autoconfigure.hazelcast; import com.hazelcast.config.Config; /** - * Callback interface that can be implemented by beans wishing to customize the Hazelcast - * server {@link Config configuration}. + * Callback interface that can be implemented by beans wishing to customize the + * auto-configured Hazelcast server {@link Config configuration}. * * @author Jaromir Hamala * @author Stephane Nicoll diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/io/hazelcast.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/io/hazelcast.adoc index da1b3ef526e..72a9229d18a 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/io/hazelcast.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/io/hazelcast.adoc @@ -12,7 +12,7 @@ Spring Boot first attempts to create a client by checking the following configur * A `hazelcast-client.yaml` (or `hazelcast-client.yml`) in the working directory or at the root of the classpath. If a client can not be created, Spring Boot attempts to configure an embedded server. -If you define a javadoc:com.hazelcast.config.Config[] bean, Spring Boot uses that. +If you define a javadoc:com.hazelcast.config.Config[] bean, Spring Boot uses it at is. If your configuration defines an instance name, Spring Boot tries to locate an existing instance rather than creating a new one. You could also specify the Hazelcast configuration file to use through configuration, as shown in the following example: