[jboss-user] [EJB 3.0] - Re: Why isn't @Predestory honored in @Stateless beans as wel
asack
do-not-reply at jboss.com
Tue Aug 8 12:19:06 EDT 2006
"wolfc" wrote : @PreDestroy works per instance (EJB3 4.5.1 last paragraph)
Now when you undeploy an application (which in effect should tear down the various instances in the session, no?)...though with that said I do realize that after reading the above paragraph, I suppose application undeployment is a gray area and Bill has choosen a reasonable implementation design decision.
I was just stating that ARCHITECTURALLY speaking undeployment of the entire application should cause the container to still honor the lifecycle mgmt callbacks in the spec during tear down. That's all.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963851#3963851
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963851
More information about the jboss-user
mailing list