Search code examples
osgiosgi-bundle

OSGi : Bundle Activation


Conceptually, what does it mean to “activate a bundle” in OSGi (e.g. what operations are done on a bundle to activate it). What happens, exactly?


Solution

  • If the bundle has a BundleActivator then the start method of it is called.

    Frameworks like declarative services might also watch the bundle status and activate components declared in the bundle.