Class ExampleActivator

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public final class ExampleActivator
    extends Object
    implements org.osgi.framework.BundleActivator
    Extension of the default OSGi bundle activator
    • Constructor Detail

      • ExampleActivator

        public ExampleActivator()
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext bc)
                   throws Exception
        Called whenever the OSGi framework starts our bundle
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Throws:
        Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext bc)
                  throws Exception
        Called whenever the OSGi framework stops our bundle
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Throws:
        Exception