This content has been marked as final.
Show 2 replies
-
1. Re: Destroy annotation doesn't work for APPLICATON scoped components
erbora00 Feb 29, 2012 8:51 AM (in response to dea.dea.rapas.ru)I am having the same problem..
My application scope bean's method is not getting called during JBoss shutdown with the below annotation.
@Observer("org.jboss.seam.preDestroyContext.APPLICATION")
Anybody has an idea why?
I am using Seam 2.2.2 Final and JBos 4.2.3 GA.
Thanks.
-
2. Re: Destroy annotation doesn't work for APPLICATON scoped components
serkan Mar 1, 2012 10:55 AM (in response to erbora00)Did you use something similar to the following code ?
@Remove @Destroy
public void destroy() { ... }