Destroy the bean and all other beans associated with its {@link AsyncCreationalContext}. Because some destruction activity may be asynchronous, this method accepts a second parameter as a callback to be notified when the destruction of all the beans has been done.
@param ref the reference to the bean to be destroyed.
@param runnable a runnable callback to be called when all the beans have been destroyed.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.