This content has been marked as final.
Show 1 reply
-
1. Re: Creating injections programmatically
alesj May 9, 2008 4:37 PM (in response to dmlloyd)"david.lloyd@jboss.com" wrote:
Is the parameter of BeanMetaDataBuilder.createInject(Object); supposed to be the bean name?
Yes."david.lloyd@jboss.com" wrote:
If so, why is the type "Object"?
The MC at dependency module level doesn't have the notion of component name being a string, that's POJO notion.
And with inject you can e.g. use MBean, who's name is ObjectName, hence the Object. ;-)