|
From: <jue...@we...> - 2004-06-03 11:50:15
|
It's not in the ApplicationContext interface itself, because this is = meant to be a client view of the context. Simply cast the context = reference to ConfigurableApplicationContext; you can then invoke the = close method there. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Jozsa Kristof Sent: Thursday, June 03, 2004 1:14 PM To: spr...@li... Subject: [Springframework-developer] about closing bean container Hi, I started to wonder today why ApplicationContext interface doesn't=20 include the close() method to dispose the singleton beans in the bean=20 container. Is there any reason not to expose this method? On the other=20 side, wouldn't it make sense to add a shutdown hook to clear up any=20 still-existing bean containers at least on jvm exit? dyn --=20 .Digital.Yearning.for.Networked.Assassination.and.Xenocide. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |