This content has been marked as final.
Show 2 replies
-
1. Re: How to reuse blueprint bean declarations across OSGi bundles?
jasonnh Jan 23, 2013 4:50 AM (in response to jasonnh)Do I have to use OSGi services for these types of beans?
That seems reasonable for things like activemq connection beans but it would be nice to be able to reuse declarations for other types of beans.
-
2. Re: How to reuse blueprint bean declarations across OSGi bundles?
ffang Jan 23, 2013 5:00 AM (in response to jasonnh)Hi,
The "import resource" stuff only works for spring but not for blueprint.
If you wanna share beans across bundles, I suggest you export those beans as OSGi service and refer OSGi service in other bundles.
Freeman