Commit c87510e
Document shutdown semantics in README
The Enter / Ctrl+C / SIGTERM behavior was only described indirectly
as a test scenario in CONTRIBUTING.md. Add a "Shutting down"
subsection under "Running your apps" that covers:
- What run() actually does (block on stdin + shutdown hook).
- Which launch methods give you clean contextDestroyed firing
(IDE main, mvnw exec:java, unzipped prod zip, systemd, docker
stop) vs. which may force-kill (gradle run, docker kill, SIGKILL).
- The start()/stop() escape hatch for tests that want to drive
the lifecycle themselves.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7b41a71 commit c87510e
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
204 | 228 | | |
205 | 229 | | |
206 | 230 | | |
| |||
0 commit comments