[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Scoped Kernels
alesj
do-not-reply at jboss.com
Fri Feb 23 12:24:34 EST 2007
"adrian at jboss.org" wrote :
| I don't understand this. 2 contexts in different scopes should not have
| the same ScopeKey.
|
The problem that I encountered was when I had two beans with the same class and same name deployed into 2 different scopes, I always got annotations meta data for the first one deployed --> obvious, since keys matched --> no scope differentiation.
"adrian at jboss.org" wrote :
| There are a number of apis that need updating to understand Scope.
| i.e. passing in the ScopeKey as an additional parameter.
|
| The old api should invoke the new api with the default scope.
|
| Retrieving the context is one of them.
|
| There are other apis that need to be able to retrieve all contexts in all scopes
| and include the scope in the identity.
| The checking of incomplete contexts in the kernel deployer
| or the repository service is one of the latter.
If you could just 'mark' all the necessary API methods that need updateing, I'll go and 'fix' them.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021213#4021213
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021213
More information about the jboss-dev-forums
mailing list