[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Scoped Kernels
adrian@jboss.org
do-not-reply at jboss.com
Mon Feb 26 08:53:22 EST 2007
"alesj" wrote : "adrian at jboss.org" wrote :
| | I think we mentioned this with aliases and inner un-named beans.
| | Any other place?
|
| I'm saying that even before then we (probably before you got involved)
| discussed not using ControllerContext.getName() as the key to store the state
| but use a ControllerContext.getId() which would be a system generated
| unique id. See UUID in the common module.
|
| It was discussed in the context of giving better error messages
| when two deployments have the same name for a context.
|
| Currently you get a failure upfront about trying to install a duplicate context
| when you should get a summary at the end saying one (or maybe both?) is not installed
| because it has a duplicate name.
|
| It also supports the "anonymous" bean concept better since the name becomes
| "optional". It is only used in the external api when somebody wants to do
| give me a context by name (e.g. an explicit dependency injection).
|
| But I think it is a bit too close to the JBoss5-beta2 release to do this
| refactoring at the moment.
| If you are going to do it, it would be better if it was on a branch in SVN.
| This is probably also true of the scoping development in general?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022428#4022428
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022428
More information about the jboss-dev-forums
mailing list