Comments (2)
Can you describe any particular use-case of bean destruction? I've been using Spring for quite some time and I have never had a need to destroy a bean (neither did I ever need to completely shut down the container) 🤔
from di.
It needed for implementing graceful shutdowns when your service destroys beans depending on the dependency graph.
from di.
Related Issues (15)
- [Bug report]
- [Feature request] HOT 2
- Improve beans initialization HOT 2
- [Feature request] register&inject bean with named group HOT 6
- [Feature request] when the Prototype bean destroy? HOT 3
- Fail to inject dependencies HOT 5
- postconstruct does not support dependency, postconstruct executes random HOT 10
- Question regarding the implmentation of PostConstruct HOT 1
- Been Injection Not Working HOT 2
- [Feature request]Circular dependency HOT 1
- [Bug report] Can't get another bean instance from bean factory, despite of the docs HOT 5
- [Feature request] Add examples about how to use this library HOT 1
- replace ioutil.ReadAll with io.ReadAll in README HOT 1
- [Feature request] Autowiring beans into slice or map depending on the interface HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from di.