Class FragmentActivator

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

public class FragmentActivator extends Object implements org.osgi.framework.BundleActivator
FragmentActivator Sets up support for jsp and jstl. All relevant jsp jars must also be installed into the osgi environment.

NOTE that as this is part of a bundle fragment, this activator is NOT called by the OSGi environment. Instead, the org.eclipse.jetty.osgi.util.internal.PackageAdminTracker simulates fragment activation and causes this class's start() method to be called.

The package of this class MUST match the Bundle-SymbolicName of this fragment in order for the PackageAdminTracker to find it.

  • Constructor Details

    • FragmentActivator

      public FragmentActivator()
  • Method Details

    • 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