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

See gh-18581
This commit is contained in:
Stephane Nicoll
2019-10-15 08:41:07 +02:00
parent 9b781449cf
commit 22f44917ca
2 changed files with 8 additions and 8 deletions

View File

@@ -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",