Add metadata entry for spring.main.register-shutdown-hook
See gh-18581
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user