[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ClassLoader injection Scope issue
adrian@jboss.org
do-not-reply at jboss.com
Tue Oct 28 11:27:31 EDT 2008
"alesj" wrote :
| And as I explained, or at least tried to explain :-),
| the difference from JBossAS and this example is in how those files get deployed:
|
| My example:
| - http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/ioc/src/main/resources/META-INF/classloader-beans.xml
| goes over BeanMDDeployer --> scope merging.
| Scope merging requires CL to already be set - see previous post's exception.
|
Ahh! Ok I understand now.
The obvious first question is why is it merging scopes? You did this change.
Merging the scopes is broken since any deployer that wants to "play with"
the metadata will be using the wrong scope, i.e. the wrong metadata.
Especially the mutable scope!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185132#4185132
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185132
More information about the jboss-dev-forums
mailing list