4 Replies Latest reply on Aug 27, 2009 4:41 AM by thomas.diesler

    Proper system BundleContext implementation

    thomas.diesler


      https://jira.jboss.org/jira/browse/JBOSGI-138

      Currently we have

      OSGiSystemBundle extends OSGiBundleState

      which initializes the OSGiBundleState with a null DeploymentUnit

      All Bundle and BundleContext methods that internally access the DU fail for the system bundle

      An improved abstraction would be

      OSGiSystemBundle extends AbstractBundle
      OSGiBundle extends AbstractBundle