[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: DESCRIBE phase - Dependency builders for MC Beans
kabir.khan@jboss.com
do-not-reply at jboss.com
Tue May 12 09:54:58 EDT 2009
"alesj" wrote : The question is how to force this?
| I don't see any good way.
|
| But otoh if we leave users such freedom, some mechanism should be in place.
| I wrote the stuff and I got it wrong, no question about it that the users will/would too. :-)
|
Maybe have more fields in your annotation, and validate the combinations during one of the early phases (PreInstall or Describe)?
"alesj" wrote :
| Another question is where to keep this info, so we don't have to do multiple lookups;
| e.g. in DescribeAction, InstantiateAction, ...
|
How costly is an MDR lookup? Compared to the zillion times it is currently hit at the moment to do the pointcut matching, it should be negligible.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230484#4230484
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230484
More information about the jboss-dev-forums
mailing list