Skip to contentTagged “Bean-Lifecycle”
1 article with this tag.
- Bean lifecycle & scopesWhat happens to a Spring bean from definition to destruction: instantiation, injection, Aware callbacks, BeanPostProcessors, @PostConstruct and InitializingBean, SmartLifecycle, @PreDestroy and graceful shutdown; plus singleton, prototype, request, session and application scopes, scoped proxies, and thread-safety rules.
Intermediate · 5 min read