[jboss-user] [Microcontainer] - Re: bean undeployment in server (as5/jboss mc) shutdown

alesj do-not-reply at jboss.com
Wed Jan 21 09:06:24 EST 2009


"emmartins" wrote : so when should this bean run the shutdown code currently in StandardMBean.stop() so the other it depends is still full functional? :)
I don't understand what you mean?
You're probably missin ',' before "in"?

"emmartins" wrote : so when should this bean run the shutdown code currently
Dunno, it's your service. ;-)

The lifecycle: instantiated - configured - create/destroy - start/stop
Injection --> configured

"emmartins" wrote : in StandardMBean.stop() so the other it depends is still full functional?
The order of undeploy is:
 - undeploy my dependencies
 - undeploy me
Hence the "the other it depends" should be still fully finctional (installed).

See AbstractController::uninstallContext.
And re-check the mock test, I did some small modifications.

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

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



More information about the jboss-user mailing list