Package org.apache.sling.resourcemerger.spi

Examples of org.apache.sling.resourcemerger.spi.MergedResourcePicker


    protected void deactivate() {
        tracker.close();
    }

    public Object addingService(final ServiceReference reference) {
        final MergedResourcePicker picker = (MergedResourcePicker) bundleContext.getService(reference);
        if ( picker != null ) {
            final String mergeRoot = PropertiesUtil.toString(reference.getProperty(MergedResourcePicker.MERGE_ROOT), null);
            if (mergeRoot != null) {
                final ResourceProviderFactory providerFactory = new MergingResourceProviderFactory(mergeRoot, picker,
                        PropertiesUtil.toBoolean(reference.getProperty(MergedResourcePicker.READ_ONLY), true));
View Full Code Here

TOP

Related Classes of org.apache.sling.resourcemerger.spi.MergedResourcePicker

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.