[jboss-dev-forums] [JBoss Microcontainer Development] - Re: Supporting qualifiers in MC
alesj
do-not-reply at jboss.com
Thu Nov 26 04:57:42 EST 2009
"kabir.khan at jboss.com" wrote :
| I forgot to mention that in the case of qualifier metadata existing at a higher level in MDR than instance level, the search takes that into account and merges whatever it can find at all levels. e.g., if ["a", "b"] exists at JVM level and ["c", "d"] at INSTANCE level, when doing the lookup for an instance ["a", "b", "c", "d"] is returned.
|
I would hide the search behind some registry / cache / "database'.
By default we would have the same simple algorithm as we have now,
but we could/should turn it into smarter/faster one.
e.g. merge qualifiers only once, match on set intersection not being empty
In this case we would have to check if MDR can be changed in such a way that our data wouldn't be stale / invalid.
e.g. something would pull the X level MDR "rug" under our feet / "database"
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267634#4267634
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267634
More information about the jboss-dev-forums
mailing list