Class Activator

  • All Implemented Interfaces:
    EventListener, org.osgi.framework.BundleActivator, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener

    @Header(name="Bundle-Activator",value="${@class}") @Header(name="Bundle-ActivationPolicy",value="lazy")
    public final class Activator
    extends ProviderActivator
    implements org.osgi.framework.SynchronousBundleListener
    OSGi BundleActivator.
    • Constructor Detail

      • Activator

        public Activator()
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws Exception
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Overrides:
        start in class ProviderActivator
        Throws:
        Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Overrides:
        stop in class ProviderActivator
        Throws:
        Exception
      • bundleChanged

        public void bundleChanged​(org.osgi.framework.BundleEvent event)
        Specified by:
        bundleChanged in interface org.osgi.framework.BundleListener