Package org.apache.jackrabbit.mk.model

Examples of org.apache.jackrabbit.mk.model.NodeStore


    }

    static Connection createWorkspaceConnection(SimpleCredentials credentials,
            String workspace, MicroKernel microKernel, String revision) throws NoSuchWorkspaceException {

        NodeStore store = new KernelNodeStore(microKernel); // TODO: pass revision?
        NodeState wspRoot = store.getRoot().getChildNode(workspace);
        if (wspRoot == null) {
            throw new NoSuchWorkspaceException(workspace);
        }

        return new ConnectionImpl(credentials, workspace, store, wspRoot);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.mk.model.NodeStore

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.