"adrian(a)jboss.org" wrote : "adrian(a)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. ;-)
|
Would it be better to use an UnmodifiableScopeKey instance to represent the frozen state?
ScopeKey.getOptimizedKey() currently (in my local repository) returns an
UnmodifiableScopeKey.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250241#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...