Merge branch '3.2.x' into 3.3.x

Closes gh-42285
This commit is contained in:
Phillip Webb 2024-09-12 18:43:54 -07:00
commit a405c42006
3 changed files with 6 additions and 1 deletions

View File

@ -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;

View File

@ -1118,6 +1118,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}")
}
}
@ -1591,6 +1592,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") {

View File

@ -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.