r/java • • Dec 26 '25

Evolving Spring Vault: Introducing VaultClient

https://spring.io/blog/2025/12/26/evolving-spring-vault
32 Upvotes

8 comments sorted by

View all comments

Show parent comment

0

u/UnGauchoCualquiera Dec 29 '25 edited Dec 29 '25

They are textbook definitions of templates though. Whether they are implementations rather than abstract classes is irrelevant. What matters is that the parent class defines the workflow or behavior and invokes well-defined, documented protected hook methods that act as extension points. In the case of RestTemplate, those extension points are the methods mentioned earlier.