Class SlingBridge


  • public class SlingBridge
    extends Object
    The SlingBridge returns an extended Sling class to override any sling properties with context init parameters from the web application. In addition, the bundle context is set as a servlet context attribute
    • Constructor Detail

      • SlingBridge

        public SlingBridge()
    • Method Detail

      • getSlingBridge

        public static Sling getSlingBridge​(Notifiable notifiable,
                                           org.apache.felix.framework.Logger logger,
                                           org.apache.sling.launchpad.api.LaunchpadContentProvider resourceProvider,
                                           Map<String,​String> propOverwrite,
                                           javax.servlet.ServletContext servletContext)
                                    throws org.osgi.framework.BundleException
        Throws:
        org.osgi.framework.BundleException