Class FragmentActivator

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public class FragmentActivator
    extends java.lang.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.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void start​(org.osgi.framework.BundleContext context)  
      void stop​(org.osgi.framework.BundleContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FragmentActivator

        public FragmentActivator()
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws java.lang.Exception
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Throws:
        java.lang.Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws java.lang.Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Throws:
        java.lang.Exception