diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jmx/JmxProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jmx/JmxProperties.java index 4c4141432b3..371071efb86 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jmx/JmxProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jmx/JmxProperties.java @@ -29,7 +29,7 @@ import org.springframework.jmx.support.RegistrationPolicy; public class JmxProperties { /** - * Expose management beans to the JMX domain. + * Expose Spring's management beans to the JMX domain. */ private boolean enabled = false; diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 60b51b1b313..c4f18da8d0f 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1139,6 +1139,7 @@ bom { } links { site("https://logging.apache.org/log4j") + docs { version -> "https://logging.apache.org/log4j/%s.x/manual".formatted(version.major()) } releaseNotes("https://github.com/apache/logging-log4j2/releases/tag/rel%2F{version}") } } @@ -1582,6 +1583,7 @@ bom { } links { site("https://github.com/quartz-scheduler/quartz") + javadoc("https://www.javadoc.io/doc/org.quartz-scheduler/quartz/{version}") } } library("QueryDSL", "5.1.0") { diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/jmx.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/jmx.adoc index 37f197ee738..4751c26dd06 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/jmx.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/jmx.adoc @@ -10,6 +10,9 @@ Any of your beans that are annotated with Spring JMX annotations (`@ManagedResou If your platform provides a standard `MBeanServer`, Spring Boot uses that and defaults to the VM `MBeanServer`, if necessary. If all that fails, a new `MBeanServer` is created. +NOTE: `spring.jmx.enabled` affects only the management beans provided by Spring. +Enabling management beans provided by other libraries (for example {url-log4j2-docs}/jmx.html[Log4j2] or {url-quartz-javadoc}/constant-values.html#org.quartz.impl.StdSchedulerFactory.PROP_SCHED_JMX_EXPORT[Quartz]) is independent. + See the {code-spring-boot-autoconfigure-src}/jmx/JmxAutoConfiguration.java[`JmxAutoConfiguration`] class for more details. By default, Spring Boot also exposes management endpoints as JMX MBeans under the `org.springframework.boot` domain.