What's the status of being able to define in which scope you want to put / lookup your
beans?
E.g. 'visible' only for current deployment unit (single xml file), whole archive
deployment (multiple files in .sar, ...), whole app deployment, current kernel bootstrap,
cluster, ...
What I want to do with OSGi integration is be able to put in current Bundle bean (under
some specific name - similar to what we do with Kernel), and then later use it when wiring
beans with OSGi layer. OSGi aware beans are normal beans deployed with
BeanMetaDataDeployer, which is currently bound with bootstrap Kernel. There is only
special schema handling + the part that is missing = currently deployed beans being aware
of their underlying Bundle.
How do I get the currently deployed beans be aware of their Bundle (which is a part of
DeploymentUnit attachments). Any elegant way or a horrible ThreadLocal? ;-(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008731#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...