Grokking Spring Boot
0% completed
The Bean Lifecycle
These lines come from one run of the booking service. A test started the application, sent one confirmation email, and then closed the application:
EmailSender: constructor called, clock is null EmailSender: clock injected EmailSender: @PostConstruct, ready to send through mail.example.com Notifier: constructor called Notifier: @PostConstruct ---- context ready, using Notifier EmailSender: email to ana@example.com: Seat A12 is yours ---- closing context Notifier: @PreDestroy EmailSender: @PreDestroy, closed
Two details in this log matter
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%