[jboss-user] [JBoss/Spring Integration] - Re: Bean destroy methods when undeploying

alesj do-not-reply at jboss.com
Tue Jul 15 03:27:29 EDT 2008


I think this should already be taken care by Spring.
JBossSpringDeployer doesn't have anything to do with beans lifecycle, except from instantiating/destroying AppContext/BeanFactory.

The only reason I could think of is that you're using SpringBeanFactoryDeployer which only creates BeanFactory instance, not ApplicationContext instance.
AFAIK it's only AppContext impl that handles init/destroy, but I could be wrong.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164400#4164400

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164400



More information about the jboss-user mailing list