Class Activator

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

    public class Activator
    extends java.lang.Object
    implements org.osgi.framework.BundleActivator
    The activator class controls the plug-in life cycle.
    • Constructor Summary

      Constructors 
      Constructor Description
      Activator()  
    • Constructor Detail

      • Activator

        public Activator()
    • Method Detail

      • getContext

        public static org.osgi.framework.BundleContext getContext()
        Returns the BundleContext.
        Returns:
        the BundleContext.
      • start

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

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