Thirteen captured transcripts: a listener is a blocking method call, ordering and chaining, SpEL conditions, generic-event erasure, every transaction phase on commit and rollback, what an AFTER_COMMIT listener can write, which exceptions reach the publisher, async listeners on platform and virtual threads, and the annotations behind Spring Modulith's @ApplicationModuleListener. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Uu7q8vPeREyT4218EJPzz1
20 lines
495 B
Bash
Executable File
20 lines
495 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Regenerates every file under output/.
|
|
#
|
|
# ./scripts/run-all.sh
|
|
#
|
|
# Needs a JDK 25 and Maven 3.9. Transcripts 01-11 are written by the test suite, so each figure in the
|
|
# article is an assertion that fails the build if it stops being true. Transcripts 12-13 come from javap.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
|
|
echo "== test suite (transcripts 01-11)"
|
|
mvn -B test
|
|
|
|
echo "== facts read from jars (12-13)"
|
|
./scripts/capture-facts.sh
|
|
|
|
echo
|
|
echo "output:"
|
|
ls -1 output
|