Class Activator

  • All Implemented Interfaces:
    PaxWebManagedService.ConfigurationUpdater, org.osgi.framework.BundleActivator

    public class Activator
    extends Object
    implements org.osgi.framework.BundleActivator, PaxWebManagedService.ConfigurationUpdater

    Main entry point to Pax-Web.

    This activator performs these actions:

    • servlet event dispatcher
    • registration of WebElementEventListener-org.osgi.service.event.EventAdmin bridge
    • registration of WebElementEventListener-LogService bridge
    • registration of org.osgi.service.cm.ManagedService to monitor org.ops4j.pax.web PID changes

    • 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)
        Specified by:
        stop in interface org.osgi.framework.BundleActivator