Package org.apache.jackrabbit.test

Examples of org.apache.jackrabbit.test.RepositoryStub


            "/jcr:root/content//element(*, %s) order by @%s descending", NODE_TYPE,
            ORDERED_PROPERTY);
       
        Properties env = new Properties();
        env.load(getClass().getResourceAsStream("/repositoryStubImpl.properties"));
        RepositoryStub stub = RepositoryStub.getInstance(env);
        Repository repo = stub.getRepository();
        Session session = null;
        Node root, content;
       
        try {
            session = repo.login(stub.getSuperuserCredentials());

            createIndexDefinition(session);
           
            root = session.getRootNode();
            if (!root.hasNode(CONTENT)) {
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.test.RepositoryStub

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.