-
1. Re: Proper system BundleContext implementation
thomas.diesler Aug 26, 2009 5:03 AM (in response to thomas.diesler)Please assign the issue to yourself and 'Start Progress' on it.
Generally we can use this process to avoid duplicate work. -
2. Re: Proper system BundleContext implementation
adrian.brock Aug 26, 2009 7:18 AM (in response to thomas.diesler)The issue is not really that, it is what we were talking about on the other thread.
The system bundle is not a real deployment, it effectively represents the bootstrap
classloader so it needs to adopt that classloader and use it where the deployment
gets used.
This is what 3.4 calls the "Framework Classpath".
But there are other considerations in the spec such as;
3.8.3 - Parent Delegation - which is actually already worked around by the JDKProvider stuff
3.8.5 - System packages
3.14 - Extension Bundles - although they are optional in the spec
If you want to factor out the common code into an AbstractBundleState rather than
having OSGiSystemBundle extend OSGiBundleState then go ahead, but do
it quickly. ;-)
I'm currently looking at the manifest parsing so you are not going to break what
I'm working on. -
3. Re: Proper system BundleContext implementation
thomas.diesler Aug 26, 2009 10:09 AM (in response to thomas.diesler)I am working on https://jira.jboss.org/jira/browse/JBOSGI-133
-
4. Re: Proper system BundleContext implementation
thomas.diesler Aug 27, 2009 4:41 AM (in response to thomas.diesler)We now have
OSGiSystemState extends AbstractBundleState
OSGiBundleState extends AbstractBundleState