[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Bean instantiate order with contextual injection

alesj do-not-reply at jboss.com
Tue Aug 15 10:35:08 EDT 2006


"adrian at jboss.org" wrote : 
  | I don't even see why you are doing this?
  | All you need to do is to modify the kernel registry plugin entry point
  | getEntry() to use your contextsByClass.
  | http://docs.jboss.org/nightly/microkernel/docs/reference/en/html/registry.html#registryfactory-overview
  | 

Ok, I added this code to AbstractKernelController.getEntry


  |       else if (name instanceof Class)
  |          return getContextByClass((Class)name);
  | 

But this should probably be in a seperate KernelRegistryPlugin impl (requires KernelController).

Where to register/unregister such plugin into KernelRegistry?
Or where to install/uninstall instance - so that it gets automatically picked up by KernelRegistry?

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

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



More information about the jboss-dev-forums mailing list