Virgo Bundlor and Class Inheritance across Bundles [message #897616] |
Tue, 24 July 2012 14:43  |
Eclipse User |
|
|
|
Hey Guys,
i have a general Problem. Let's say we have 3 Bundles. Bundle A, Bundle B, Bundle C. In every Bundle is a Sample Class which is exported via Bundlor Manifest Generation. Now, Bundle B's Sample Class extends the Bundle A Sample Class, and Bundle C's Sample Class extends the Bundle B Sample Class.
Is this in general a design Problem? Otherwise, Bundlor does not recognize this dependency graph. If i load Bundle C, i get a Class from Bundle A could not loaded Error.
The problem is, that i use the mybatis bundle with spring on an osgi enviroment. So, the mybatis SqlSessionDaoSupport Class extends from Springs DaoSupport. Our bundle again has a class which extends the SqlSessionDaoSupport Class from the mybatis bundle
hope someone can help me
|
|
|
|
Re: Virgo Bundlor and Class Inheritance across Bundles [message #898697 is a reply to message #897756] |
Fri, 27 July 2012 05:01  |
Eclipse User |
|
|
|
Dynamic imports are more of a workaround than a solution. The problem with dynamic imports is that they tend to wire to anything they can "get their hands on". In the case of Spring framework, that's probably not going to be an issue since there is likely to be at most one Spring framework available at runtime.
I think it would be worth capturing the bundlor issue in a bug if you can supply a small testcase to reproduce the problem.
|
|
|
Powered by
FUDForum. Page generated in 0.08528 seconds