Class Activator

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

    public class Activator
    extends Object
    implements org.osgi.framework.BundleActivator
    The activator that starts and manages the life-cycle of the class factory registry.
    • Field Detail

      • bt

        protected org.osgi.util.tracker.BundleTracker bt
      • lst

        protected org.osgi.util.tracker.ServiceTracker lst
      • registryRegistration

        protected org.osgi.framework.ServiceRegistration registryRegistration
      • context

        protected org.osgi.framework.BundleContext context
    • 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
        Throws:
        Exception
      • stop

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