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

alesj do-not-reply at jboss.com
Mon Feb 18 06:07:21 EST 2008


"adrian at jboss.org" wrote : Also, related to this, it might be useful if we generalise the install
  | to be doable at anytime (well at least from instantiated), 
  | rather than just when the object is "installed".
  | 
Yup, I though about this once.  Probably when doing callbacks, as you could also see that it's a lot similar.

Kabir's AOP callbacks also allow you to do this. Some more code is required, and pointcut must match the exact bean.
And it requires AOP. :-)

I'll push the install execution to a common Action class + add the state attribute.

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

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



More information about the jboss-dev-forums mailing list