"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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...