Class EE10Activator

java.lang.Object
org.eclipse.jetty.ee10.osgi.boot.EE10Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class EE10Activator extends Object implements org.osgi.framework.BundleActivator
EE10Activator

Enable deployment of webapps/contexts to E10E

  • Field Details

  • Constructor Details

    • EE10Activator

      public EE10Activator()
  • Method Details

    • registerServerClasspathContributor

      public static void registerServerClasspathContributor(ServerClasspathContributor contributor)
    • unregisterServerClasspathContributor

      public static void unregisterServerClasspathContributor(ServerClasspathContributor contributor)
    • getServerClasspathContributors

      public static Collection<ServerClasspathContributor> getServerClasspathContributors()
    • start

      public void start(org.osgi.framework.BundleContext context) throws Exception
      Track jetty Server instances and add ability to deploy EE10 contexts/webapps
      Specified by:
      start in interface org.osgi.framework.BundleActivator
      Parameters:
      context - the bundle context
      Throws:
      Exception
    • stop

      public void stop(org.osgi.framework.BundleContext context) throws Exception
      Stop the activator.
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Throws:
      Exception
      See Also:
      • BundleActivator.stop(org.osgi.framework.BundleContext)