|Why two inter-dependent bundles are deployed successfully? [message #645465]
||Fri, 17 December 2010 10:43
| guofeng zhang
Registered: July 2009
There is bundler A, a normal bundle in Java, and another bundler B. B is an Aspectj project that will weave A (compile-time weaving), so B have to import the package exported by A.|
After A is woven by B, I use com.springsource.bundlor.maven plugin to process A so that the dependencies is kept correctly. Check the A's MANIFEST.MF, now A import the package from B.
Because A has some test logic in its Activator, so I first drop B in usr directory, then drop A in pickup directory.
The two bundles now in ACTIVE state and the expected test output displayed in the log file.
I am surprised. I think this should not work because any bundle can not be resolved without resolving the other bundle first.
My question is
Is this is standard behavior specified by OSGi, or is the feature supported by Spring DM? or in Equixon, I can use config.ini and start level to get the same result?
Powered by FUDForum
. Page generated in 0.19961 seconds