Class WarUrlActivator

java.lang.Object
org.eclipse.jetty.osgi.boot.warurl.WarUrlActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class WarUrlActivator extends Object implements org.osgi.framework.BundleActivator
Register the factory to handle the war scheme specified by rfc66 when the bundle is activated.
  • Constructor Details

    • WarUrlActivator

      public WarUrlActivator()
  • Method Details

    • start

      public void start(org.osgi.framework.BundleContext context) throws Exception
      Register the url stream handler factory.
      Specified by:
      start in interface org.osgi.framework.BundleActivator
      Parameters:
      context - the BundleContext to use
      Throws:
      Exception
    • stop

      public void stop(org.osgi.framework.BundleContext context) throws Exception
      Remove the url stream handler. (probably not required, as osgi might shutdown every registered service by default: need test)
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Throws:
      Exception