Package org.apache.sling.launchpad.base.impl

Examples of org.apache.sling.launchpad.base.impl.ResourceProvider


        // prevent tons of needless WARN from the framework
        logger.setLogLevel(Logger.LOG_ERROR);

        try {
            ResourceProvider resProvider = new ClassLoaderResourceProvider(
                MainDelegate.class.getClassLoader());

            // creating the instance launches the framework and we are done here
            // ..
            sling = new Sling(notifiable, logger, resProvider, props) {
View Full Code Here


            // read the default parameters
            Map<String, String> props = loadConfigProperties(slingHome);

            Logger logger = new ServletContextLogger(getServletContext());
            ResourceProvider rp = new ServletContextResourceProvider(
                getServletContext());
            tmpSling = new SlingBridge(notifiable, logger, rp, props);

            // set up the OSGi HttpService proxy servlet
            tmpDelegatee = new HttpServiceServlet();
View Full Code Here

TOP

Related Classes of org.apache.sling.launchpad.base.impl.ResourceProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.