Class Loader

  • All Implemented Interfaces:
    EventListener, org.osgi.framework.BundleListener

    public class Loader
    extends Object
    implements org.osgi.framework.BundleListener
    The Loader TODO
    • Constructor Detail

      • Loader

        public Loader​(org.apache.sling.jcr.api.SlingRepository repository,
                      org.osgi.framework.BundleContext bundleContext)
    • Method Detail

      • dispose

        public void dispose()
      • bundleChanged

        public final void bundleChanged​(org.osgi.framework.BundleEvent event)
        Loads and unloads any components provided by the bundle whose state changed. If the bundle has been started, the components are loaded. If the bundle is about to stop, the components are unloaded.
        Specified by:
        bundleChanged in interface org.osgi.framework.BundleListener
        Parameters:
        event - The BundleEvent representing the bundle state change.