"david.lloyd(a)jboss.com" wrote : OK, I may not agree that this is
"right" but it is what it is. I think there's one thing we can agree on
though - the parameter ought to have a more accurate name, like "beanName" or
"beanIdentifier" rather than just "bean", because "bean"
implies an expectation that you're passing in the actual bean object in question
rather than its identifier.
You simply don't get it.
The controller context, dependencies, etc. has nothing to do with a "bean"
or the choices of any particular component model.
The POJO controller context is only one possible implementation that relates to beans
and that happens to use a String as the name.
Other component models don't have to use a String for the name.
Its up to each component model to keep things consistent.
If you want the longer version of this argument, at least as it relates to JMX, then use
search. I know I've been over the issue at least once before at some length in this
forum.
There's even a JIRA (or at least a discussion) somewhere about using a
"UUID"
as the real id with the publically visible "name" just being an alias.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234706#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...