|
Re: Import packages in spring dependant bundle question [message #911994 is a reply to message #908529] |
Wed, 12 September 2012 18:42 |
|
Hi,
Unfortunately this is just where OSGi classloading clashes with old world classloading. When code uses '.forName' for example using the TCCL then you just have to do the imports on your own bundle. This is not desired behaviour but the only way round the unfriendly classloading in some third party code. You can avoid the large manifest if you really want by boot delegating the packages in the Java profile but be carefully as this may have other side effects especially if other code is also importing the packages.
Chris.
------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
|
|
|
Powered by
FUDForum. Page generated in 0.02462 seconds