[jboss-dev-forums] [Design the new POJO MicroContainer] - JBMICROCONT-380; constructor (property) matching

alesj do-not-reply at jboss.com
Thu Nov 6 10:02:50 EST 2008


Carlo is complaining about how we match which constructor to use:
 - https://jira.jboss.org/jira/browse/JBMICROCONT-380

Thinking about it, what is really the reason we don't do better
 - more exact matching - in InstantiateAction?

As constructor parameter dependencies should already be resolved,
we could eventually pre-invoke that ValueMetaData's to get real parameter values,
and do matching based on that?

Same with other parametrized metadata - property, lifecycle, installs, ...

I'm probably missing something obvious. :-)



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

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



More information about the jboss-dev-forums mailing list