"alesj" wrote : "david.lloyd(a)jboss.com" wrote : While you're going
through the API to do this refactor, it might be a good time to change all the parameters
which represent a bean name from being "Object" to "String".
| |
| Isn't this already the case on BeanMetaData?
|
| Doing this elsewhere would be wrong,
| as you don't really know or care what kind of type do other components use for
their name.
Of course you do. The name is a String so why support anything else? And even if you do
decide to support something like ObjectName or whatever, you should use overloading for
that purpose. It doesn't make sense to allow Object. It implies that I can pass in a
HashMap, or a Socket, or an AudioFileFormat, or ...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233594#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...