|
From: Will B. <wil...@ra...> - 2005-10-26 18:57:01
|
I would actually like to get access to the application context from outside of spring. For example, I would like to call a static method on some class to reset the servlet application context. - Will On 10/26/05 10:02 AM, "Dmitriy Kopylenko" <dko...@ru...> wrote: > You could implement "ApplicationContextAware" container callback which > will inject the instance of the current ApplicationContext that the bean > is defined in. Then you could cast it to > "ConfigurableApplicationContext" and call its "refresh" method. > > Regards, > Dmitriy. > > Will Butler wrote: > >> Is it possible to refresh the Spring MVC Dispatcher servlet's application >> context? How do you get access to it? >> >> Thanks, >> >> Will >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by the JBoss Inc. >> Get Certified Today * Register for a JBoss Training Course >> Free Certification Exam for All Training Attendees Through End of 2005 >> Visit http://www.jboss.com/services/certification for more information >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |