Class 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.boot.utils.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 Detail

      • FragmentActivator

        public FragmentActivator()
    • 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)
                  throws Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Throws:
        Exception