Package org.apache.sling.resourceresolver.impl.tree

Examples of org.apache.sling.resourceresolver.impl.tree.ProviderHandler


    /**
     * returns the ProviderHandler for a specific resource provider
     */
    public ProviderHandler getProviderHandler ( ResourceResolverContext ctx, ResourceProvider resourceProvider )
    {
        ProviderHandler returnValue = null;
        final List<Entry> list = new ArrayList<Entry>();
        list.addAll(Arrays.asList(this.sortedList));
        final Iterator<Entry> i = list.iterator();
        while ( i.hasNext() ) {
            final Entry entry = i.next();
View Full Code Here


    private Resource seek() {
        while (delayedIter == null) {
            while ((resources == null || !resources.hasNext())
                    && providers.hasNext()) {
                final ProviderHandler provider = providers.next();
                resources = provider.listChildren(this.resourceResolverContext, parentResource);
                log.debug("     Checking Provider {} ", provider);
            }

            if (resources != null && resources.hasNext()) {
                final Resource res = resources.next();
View Full Code Here

TOP

Related Classes of org.apache.sling.resourceresolver.impl.tree.ProviderHandler

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.