You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jvmlet man, it has been awhile since I have worked with Spring, so I am trying to remember how this all worked.
I believe that all of the destruction/cleanup methods are automatically called when the bean's scope goes away. In this case, this is when the (parent) thread is released.
It should be easy enough to test by launching a thread and use an autowired bean in the spawned thread. You can register a destruction callback as well to do some sort of logging action to get the idea of how it should work.
No description provided.
The text was updated successfully, but these errors were encountered: