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

See gh-18581
This commit is contained in:
leoli
2019-10-15 09:25:31 +08:00
committed by Stephane Nicoll
parent 34287fd556
commit 9b781449cf
2 changed files with 8 additions and 0 deletions

View File

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