myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "H. Swaczinna" <swaczi...@wlp-systems.de>
Subject RE: Re: How to cleanup an application scoped bean
Date Wed, 21 Feb 2007 13:55:51 GMT
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 <swaczinna@wlp-systems.de> 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

Mime
View raw message