Class Activator

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer<ServletExtension,​ServletExtension>

    public class Activator
    extends java.lang.Object
    implements org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer<ServletExtension,​ServletExtension>
    OSGi Activator. The activator is called when the bundle is started. It tracks ServletExtension services registered in the OSGi registry and will update the ServletExtensionHolder.getServletExtensions() list accordingly.
    • Constructor Detail

      • Activator

        public Activator()
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   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 context)
                  throws java.lang.Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Throws:
        java.lang.Exception