Package org.apache.jackrabbit.spi2davex

Examples of org.apache.jackrabbit.spi2davex.BatchReadConfig


        super(cacheBehaviour, itemCacheSize, pollTimeout);
        service = createService(uri, Collections.EMPTY_MAP);
    }

    private static RepositoryService createService(String uri, Map parameters) throws RepositoryException {
        BatchReadConfig brc = null;
        if (parameters != null) {
            Object param = parameters.get(REPOSITORY_SPI2DAVEX_BATCHREADCONFIG);
            if (param != null && param instanceof BatchReadConfig) {
                brc = (BatchReadConfig) param;
            }
        }
        if (brc == null) {
            brc = new BatchReadConfig() {
                public int getDepth(Path path, PathResolver pathResolver) throws NamespaceException {
                    return 4;
                }
            };
        }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.spi2davex.BatchReadConfig

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.