Package org.richfaces.resource.optimizer

Examples of org.richfaces.resource.optimizer.ResourceLibraryExpander


        Faces faces = new FacesImpl(null, new FileNameMapperImpl(fileNameMappings), dynamicResourceHandler);
        faces.start();
        initializeServiceTracker();

        // if there are some resource libraries (.reslib), we need to expand them
        foundResources = new ResourceLibraryExpander().expandResourceLibraries(foundResources);

        faces.startRequest();
        scanResourceOrdering(cpResources);
        faces.stopRequest();
View Full Code Here


    }

    private void addResourceDependencies(List<ResourceDependency> resourceDependencies) {
        Collection<ResourceDependency> filteredResourceDependencies = Collections2.filter(resourceDependencies, RESOURCE_DEPENDENCY_NOT_BODY);
        Collection<ResourceKey> resourceKeys = Collections2.transform(filteredResourceDependencies, RESOURCE_DEPENDENCY_TO_KEY);
        resourceKeys = new ResourceLibraryExpander().expandResourceLibraries(resourceKeys);
        log.debug(resourceKeys.toString());
        ordering.addPartialOrdering(resourceKeys);
    }
View Full Code Here

TOP

Related Classes of org.richfaces.resource.optimizer.ResourceLibraryExpander

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.