[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: In/Un callbacks should be happening at Install

alesj do-not-reply at jboss.com
Tue Feb 19 09:52:46 EST 2008


We already have 'state' attribute, which marks the dependent state of the target bean (if there is one configured for install/uninstall).

  | if (install.getBean() != null)
  |    target = controller.getContext(install.getBean(), install.getDependentState());
  | 
What sohuld we call the new state attribute, whenRequired to make it consistent?

Should we allow this just for certain states?
I would again leave it to the user, since we don't enforce this anywhere else.

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

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



More information about the jboss-dev-forums mailing list