Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • init() results in the framework instance in the Bundle.STARTING state.
  • start() results in the framework instance in the Bundle.ACTIVE state.

The init()} method is necessary since the framework does not have a {{BundleContext when it is first created, so a transition to the Bundle.STARTING state is required to acquire its context (via Bundle.getBundleContext()) for performing various tasks, such as installing bundles. Note that Felix also provides the felix.systembundle.activators property that serves a similar purpose. After the init() method completes, the follow actions have been performed:

...