[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Indirect dependency names

alesj do-not-reply at jboss.com
Thu Apr 10 06:35:44 EDT 2008


Perhaps we can create a new child Controller for every ComponentFactory?
Meaning we could have beans with the 'same' name living side by side, e.g. multiple BeanContext beans.

Annotating initial ComponentFactory instance with @ScopeFactoryLookup, and then applying the same annotation for all created beans.
PreInstallAction is gonna handle them, and create child Controllers accordingly.

I'll fix the caching of ScopeFactory in PreInstallAction.

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

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



More information about the jboss-dev-forums mailing list