[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Scoped beans deployment

adrian@jboss.org do-not-reply at jboss.com
Mon Feb 12 09:14:20 EST 2007


"adrian at jboss.org" wrote : 
  | The difference being that the install/uninstall just "does it" based
  | on what the BeanMetaData tells it, it doesn't make any policy decisions.

Since the parent kernels are going to have to know about the child kernels
anyway, see
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101320
I don't see a problem with them creating the child kernel when they see
that one is necessary.

This also has the advantage that if you do inside the parent controller's "write lock"
you avoid the race condition mentioned above.

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

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



More information about the jboss-dev-forums mailing list