[jboss-user] [Microcontainer] - Re: Creating injections programmatically

alesj do-not-reply at jboss.com
Fri May 9 16:37:54 EDT 2008


"david.lloyd at jboss.com" wrote : Is the parameter of BeanMetaDataBuilder.createInject(Object); supposed to be the bean name?  
  | 
Yes.
"david.lloyd at 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. ;-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149862#4149862

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149862



More information about the jboss-user mailing list