Spring bean destroy method
<p>What could be a possible example use of destroy method in a real world application? Why would a running application want to destroy its beans? If the beans are created by the spring container for the web application by, say, ContextLoaderListener, then how can these beans be recreated, because the container already started. Is there a way to restart the spring IoC container without restarting the Application server?</p>