Class Activator

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

    public class Activator
    extends Object
    implements org.osgi.framework.BundleActivator
    • Constructor Detail

      • Activator

        public Activator()
    • Method Detail

      • getContext

        public static org.osgi.framework.BundleContext getContext()
      • getDefault

        public static Activator getDefault()
        Gives static access to the bundle activator.
        Returns:
        The shared activator instance
      • start

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

        public void stop​(org.osgi.framework.BundleContext bundleContext)
                  throws Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Throws:
        Exception