Polish "Add metadata entry for spring.main.register-shutdown-hook"
See gh-18581
This commit is contained in:
parent
9b781449cf
commit
22f44917ca
|
|
@ -120,9 +120,9 @@ Rather, pick only the properties that you need.
|
|||
# APPLICATION SETTINGS ({spring-boot-module-code}/SpringApplication.java[SpringApplication])
|
||||
spring.main.allow-bean-definition-overriding=false # Whether bean definition overriding, by registering a definition with the same name as an existing definition, is allowed.
|
||||
spring.main.banner-mode=console # Mode used to display the banner when the application runs.
|
||||
spring.main.register-shutdown-hook=true # Whether the application should have a shutdown hook registered.
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -607,6 +607,13 @@
|
|||
"description": "Mode used to display the banner when the application runs.",
|
||||
"defaultValue": "console"
|
||||
},
|
||||
{
|
||||
"name": "spring.main.register-shutdown-hook",
|
||||
"type": "java.lang.Boolean",
|
||||
"sourceType": "org.springframework.boot.SpringApplication",
|
||||
"description": "Whether the application should have a shutdown hook registered.",
|
||||
"defaultValue": true
|
||||
},
|
||||
{
|
||||
"name": "spring.main.show-banner",
|
||||
"type": "java.lang.Boolean",
|
||||
|
|
@ -629,13 +636,6 @@
|
|||
"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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue