[jboss-dev-forums] [Design of OSGi Integration] - Re: Current roadmap
alesj
do-not-reply at jboss.com
Wed Jan 21 06:35:06 EST 2009
"trustin" wrote : What would happen if an OSGi bundle contains jboss-beans.xml?
|
It would be used as any other jboss-beans.xml in a plain jar.
"trustin" wrote :
| I think jboss-beans.xml should have precedence and OSGi bundle manifests should be ignored.
|
Why?
It's up to the user.
e.g. manifest == CL info, -beans.xml == services which use that CL info
"trustin" wrote :
| How does microcontainer decide which model has precedence over other models?
|
It doesn't. ;-)
It uses all the metadata info it can find.
Again, why would it have to decide anything?
It just does what it's instructed to do with metadata/attachments.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203578#4203578
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203578
More information about the jboss-dev-forums
mailing list