[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ClassLoader injection Scope issue
alesj
do-not-reply at jboss.com
Tue Oct 28 09:32:20 EDT 2008
What can we do here?
Move scope merging to ScopeInfo.
e.g.
| void mergeScopes(ScopeInfo other, ScopeType type, ScopeLevel... excludedScopeLevels);
|
Where type is: DEFAULT, MUTABLE, INSTALL.
We would then in BeanMDDeployer exclude CommonLevels.CLASS ScopeLevel.
Or is there some meaning that DeploymentUnit overrides this?
This would also require that KernelScopeInfo lazily creates default Scope
- so that we don't touch CommonLevels.CLASS, due to possible CL-not-yet-available issue.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185095#4185095
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185095
More information about the jboss-dev-forums
mailing list