Commit 9b781449 authored by leoli's avatar leoli Committed by Stephane Nicoll

Add metadata entry for spring.main.register-shutdown-hook

See gh-18581
parent 34287fd5
......@@ -122,6 +122,7 @@ Rather, pick only the properties that you need.
spring.main.banner-mode=console # Mode used to display the banner when the application runs.
spring.main.sources= # Sources (class names, package names, or XML resource locations) to include in the ApplicationContext.
spring.main.web-application-type= # Flag to explicitly request a specific type of web application. If not set, auto-detected based on the classpath.
spring.main.register-shutdown-hook=true # Whether shutdown hooks are automatically registered when Spring Boot start. If not set, they are automatically registered.
# FILE ENCODING ({spring-boot-module-code}/context/FileEncodingApplicationListener.java[FileEncodingApplicationListener])
spring.mandatory-file-encoding= # Expected character encoding the application must use.
......
......@@ -629,6 +629,13 @@
"sourceType": "org.springframework.boot.SpringApplication",
"description": "Flag to explicitly request a specific type of web application. If not set, auto-detected based on the classpath."
},
{
"name": "spring.main.register-shutdown-hook",
"type": "java.lang.Boolean",
"sourceType": "org.springframework.boot.SpringApplication",
"description": "Whether shutdown hooks are automatically registered when Spring Boot start. If not set, they are automatically registered.",
"defaultValue": true
},
{
"name": "spring.main.web-environment",
"type": "java.lang.Boolean",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment