[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Does ScopeKey need to maintain a sorted (in ScopeLevel.l
adrian@jboss.org
do-not-reply at jboss.com
Tue Aug 11 11:10:32 EDT 2009
"adrian at jboss.org" wrote :
| You do need something like the ScopeKey being mutable until the last minute
| because things like the CLASS scope may not be known until the bean instance
| is constructed from a factory. Only then do you know the class.
|
By the way, that's another HACK (and marked as such in the code)
see KernelScopeInfo and InstantiateAction.
If you can think of a better way to do it then feel free to fix it. ;-)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249034#4249034
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249034
More information about the jboss-dev-forums
mailing list