I am looking for an interceptor or trigger to know that the entire beans context is destroyed, and the applicationcontext instance is about to destroy itself. Therefore, I can do one process at the end of the life of the application.
There is a type of ContextClosedEvent event that is close to what I want to do, but it throws an event after the beans are destroyed. I do this using the close () method of the contexttext application. So it does not fit my need
Any ideas?
Hi
Ali
Neron source share