[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Registering listener on KernelEventManager

alesj do-not-reply at jboss.com
Tue Mar 18 04:49:14 EDT 2008


"scott.stark at jboss.org" wrote : 
  | Why wouldn't the event mgr have an InvokeDispatchContext implementation?
  | 
At the beginning AbstractKernelRegistryEntry had no notion of dispatch.
When I was changing KernelBus I added the attribute dispatch notion to it.
Dunno why I didn't add full invoke dispatch.
I can do that now, since the BeanKernelRegistryEntry already does have a BeanInfo ref, so adding method invoke is trivial.
It's the getClassloader (on InvokeDispatchContext) that is less obvious.
Probably securely getting it off the target is what we need to do.

I'll commit this during the day, but you should still be aware of this warning:
 - http://www.jboss.org/index.html?module=bb&op=viewtopic&t=131997
:-)

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

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



More information about the jboss-dev-forums mailing list