Ok, but how can I access (find) the bean from such servletcontext listener? There's no FacesContext at that time I think.
Regards Helmut >you can use a servletcontext listener to do some cleanup on shutdown > >-M > >On 2/21/07, H. Swaczinna <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I have an application scoped bean and want to do some cleanup when >> the application is shutdown (undeployed). Is there a way to register >> the bean somehow with the application context like I can register a >> session scoped bean with the session context? >> >> Regards >> Helmut >> > > >-- >Matthias Wessendorf >http://tinyurl.com/fmywh > >further stuff: >blog: http://jroller.com/page/mwessendorf >mail: mwessendorf-at-gmail-dot-com

